Commit a218437c authored by Bastien Nocera's avatar Bastien Nocera
Browse files

mindtct: Fix uninitialised value usage in count_minutia_ridges()

libfprint/nbis/mindtct/ridges.c:153:7: warning: 1st function call argument is an uninitialized value
parent 0add0ca9
......@@ -148,9 +148,11 @@ int count_minutia_ridges(const int first, MINUTIAE *minutiae,
int i, ret, *nbr_list, *nbr_nridges, nnbrs;
/* Find up to the maximum number of qualifying neighbors. */
nbr_list = NULL;
if((ret = find_neighbors(&nbr_list, &nnbrs, lfsparms->max_nbrs,
first, minutiae))){
if (nbr_list != NULL)
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