mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2026-02-09 01:40:29 +01:00
Remove suspect error check, it is not needed
This commit is contained in:
parent
4f8af20586
commit
03cfc742fe
1 changed files with 2 additions and 3 deletions
|
|
@ -385,7 +385,6 @@ crfpmoc_umockdev_record (FpiDeviceCrfpMoc *self, int res,
|
|||
{
|
||||
memset (&buffer[len], '0', size * 2);
|
||||
len += size * 2;
|
||||
size = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
@ -1075,9 +1074,9 @@ crfpmoc_fp_download_template (FpiDeviceCrfpMoc *self,
|
|||
{
|
||||
fp_dbg ("crfpmoc_fp_download_template: retry frame");
|
||||
}
|
||||
else if (g_error_matches (*error, G_IO_ERROR, G_IO_ERROR_PERMISSION_DENIED))
|
||||
else
|
||||
{
|
||||
fp_dbg ("Access denied, stopping retrying");
|
||||
fp_dbg ("Unknown errror, stopping retrying");
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue