mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00:00
fpi-ssm: Bug on wrong state passed to jump_to_state_delayed
While remove the checks that are already part of the common function fpi_ssm_set_delayed_action_timeout().
This commit is contained in:
@@ -573,8 +573,7 @@ fpi_ssm_jump_to_state_delayed (FpiSsm *machine,
|
||||
g_autofree char *source_name = NULL;
|
||||
|
||||
g_return_if_fail (machine != NULL);
|
||||
BUG_ON (machine->completed);
|
||||
BUG_ON (machine->timeout != NULL);
|
||||
BUG_ON (state < 0 || state >= machine->nr_states);
|
||||
|
||||
data = g_new0 (FpiSsmJumpToStateDelayedData, 1);
|
||||
data->machine = machine;
|
||||
|
||||
Reference in New Issue
Block a user