mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00:00
image: Fix warning about uninitialized variable
The variable is only initialized later in the function. This is harmless, as there is no return, but it causes a warning due to the automatic free.
This commit is contained in:
@@ -281,7 +281,7 @@ fp_image_detect_minutiae_thread_func (GTask *task,
|
|||||||
gint map_w, map_h;
|
gint map_w, map_h;
|
||||||
gint bw, bh, bd;
|
gint bw, bh, bd;
|
||||||
gint r;
|
gint r;
|
||||||
g_autofree LFSPARMS *lfsparms;
|
g_autofree LFSPARMS *lfsparms = NULL;
|
||||||
|
|
||||||
/* Normalize the image first */
|
/* Normalize the image first */
|
||||||
if (data->flags & FPI_IMAGE_H_FLIPPED)
|
if (data->flags & FPI_IMAGE_H_FLIPPED)
|
||||||
|
|||||||
Reference in New Issue
Block a user