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:
Benjamin Berg 2020-12-08 13:33:30 +01:00
parent 91fb8d8cb4
commit 74810a8472
1 changed files with 1 additions and 1 deletions

View File

@ -281,7 +281,7 @@ fp_image_detect_minutiae_thread_func (GTask *task,
gint map_w, map_h;
gint bw, bh, bd;
gint r;
g_autofree LFSPARMS *lfsparms;
g_autofree LFSPARMS *lfsparms = NULL;
/* Normalize the image first */
if (data->flags & FPI_IMAGE_H_FLIPPED)