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:
parent
35d2d78e67
commit
f852d972a5
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue