goodix: Add missing return to fp_verify_capture_cb

Found by coverity. While quite bad in theory, proper safeguards are in
place, so it will only result in a g_return_val_if_fail to be hit rather
than causing more severe side effects.
This commit is contained in:
Benjamin Berg 2020-12-14 20:34:56 +01:00 committed by Benjamin Berg
parent 35d2d78e67
commit f852d972a5

View file

@ -342,6 +342,7 @@ fp_verify_capture_cb (FpiDeviceGoodixMoc *self,
{ {
fpi_ssm_mark_failed (self->task_ssm, fpi_ssm_mark_failed (self->task_ssm,
fpi_device_retry_new (FP_DEVICE_RETRY_CENTER_FINGER)); fpi_device_retry_new (FP_DEVICE_RETRY_CENTER_FINGER));
return;
} }
fpi_ssm_next_state (self->task_ssm); fpi_ssm_next_state (self->task_ssm);
} }