Commit f852d972 authored by Benjamin Berg's avatar Benjamin Berg Committed by Benjamin Berg
Browse files

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.
parent 35d2d78e
...@@ -342,6 +342,7 @@ fp_verify_capture_cb (FpiDeviceGoodixMoc *self, ...@@ -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);
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment