Commit 74810a84 authored by Benjamin Berg's avatar Benjamin Berg
Browse files

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.
parent 91fb8d8c
...@@ -281,7 +281,7 @@ fp_image_detect_minutiae_thread_func (GTask *task, ...@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment