libfprint/libfprint/nbis/glib-mem-warning.patch
Benjamin Berg fd5f511b33 nbis: Add patch to fix unused variable warning
With the spatch to use GLib memory functions a lot of error paths were
removed. This causes an unused variable warning, so drop in a further
patch to remove the unused variable.
2019-11-20 20:38:06 +01:00

14 lines
426 B
Diff

diff --git a/libfprint/nbis/mindtct/shape.c b/libfprint/nbis/mindtct/shape.c
index 28bc66c..c399f36 100644
--- mindtct/shape.c
+++ mindtct/shape.c
@@ -86,7 +86,7 @@ int alloc_shape(SHAPE **oshape, const int xmin, const int ymin,
{
SHAPE *shape;
int alloc_rows, alloc_pts;
- int i, j, y;
+ int i, y;
/* Compute allocation parameters. */
/* First, compute the number of scanlines spanned by the shape. */