mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00:00
loop: Remove unused variable
mindtct/loop.c: In function ‘process_loop_V2’:
mindtct/loop.c:713:8: warning: variable ‘halfway’ set but not used [-Wunused-but-set-variable]
int halfway;
^~~~~~~
This commit is contained in:
@@ -509,7 +509,6 @@ int process_loop_V2(MINUTIAE *minutiae,
|
||||
unsigned char *bdata, const int iw, const int ih,
|
||||
int *plow_flow_map, const LFSPARMS *lfsparms)
|
||||
{
|
||||
int halfway;
|
||||
int idir, type, appearing;
|
||||
double min_dist, max_dist;
|
||||
int min_fr, max_fr, min_to, max_to;
|
||||
@@ -529,9 +528,6 @@ int process_loop_V2(MINUTIAE *minutiae,
|
||||
/* Get pixel value of feature's interior. */
|
||||
feature_pix = *(bdata + (contour_y[0] * iw) + contour_x[0]);
|
||||
|
||||
/* Compute half the perimeter of the loop. */
|
||||
halfway = ncontour>>1;
|
||||
|
||||
/* Get the aspect dimensions of the loop in units of */
|
||||
/* squared distance. */
|
||||
get_loop_aspect(&min_fr, &min_to, &min_dist,
|
||||
|
||||
Reference in New Issue
Block a user