mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00:00
egismoc: Remove unused increments
This is also to please static analyzer
This commit is contained in:
@@ -615,7 +615,6 @@ egismoc_get_delete_cmd (FpDevice *device,
|
|||||||
g_ptr_array_index (self->enrolled_ids, i),
|
g_ptr_array_index (self->enrolled_ids, i),
|
||||||
EGISMOC_FINGERPRINT_DATA_SIZE);
|
EGISMOC_FINGERPRINT_DATA_SIZE);
|
||||||
}
|
}
|
||||||
pos += body_length;
|
|
||||||
|
|
||||||
if (length_out)
|
if (length_out)
|
||||||
*length_out = total_length;
|
*length_out = total_length;
|
||||||
@@ -981,7 +980,6 @@ egismoc_get_check_cmd (FpDevice *device,
|
|||||||
|
|
||||||
/* command suffix */
|
/* command suffix */
|
||||||
memcpy (result + pos, cmd_check_suffix, cmd_check_suffix_len);
|
memcpy (result + pos, cmd_check_suffix, cmd_check_suffix_len);
|
||||||
pos += cmd_check_suffix_len;
|
|
||||||
|
|
||||||
if (length_out)
|
if (length_out)
|
||||||
*length_out = total_length;
|
*length_out = total_length;
|
||||||
|
|||||||
Reference in New Issue
Block a user