mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2026-05-11 08:28:08 +02:00
fpcmoc: fix analyzer cast warning
This commit is contained in:
parent
c5896e0f24
commit
3e102e5ca0
1 changed files with 4 additions and 2 deletions
|
|
@ -277,9 +277,11 @@ fpc_cmd_ssm_done (FpiSsm *ssm, FpDevice *dev, GError *error)
|
|||
/* Notify about the SSM failure from here instead. */
|
||||
if (error)
|
||||
{
|
||||
CommandData *data = fpi_ssm_get_data (ssm);
|
||||
|
||||
fp_err ("%s error: %s ", G_STRFUNC, error->message);
|
||||
if (fpi_ssm_get_data (ssm)->callback)
|
||||
fpi_ssm_get_data (ssm)->callback (self, NULL, error);
|
||||
if (data->callback)
|
||||
data->callback (self, NULL, error);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue