Browse Source

* simdb-tool.c : fix compiler warnings

master
Alex 'AdUser' Z 4 years ago
parent
commit
d1c51e0627
  1. 6
      src/simdb-tool.c

6
src/simdb-tool.c

@ -90,8 +90,9 @@ int search_similar_file(simdb_t *db, float maxdiff, char *path) {
print_search_results(&search); print_search_results(&search);
if (search.found > 0) if (search.found > 0) {
FREE(search.matches); FREE(search.matches);
}
return 0; return 0;
} }
@ -110,8 +111,9 @@ int search_similar_byid(simdb_t *db, float maxdiff, int num) {
print_search_results(&search); print_search_results(&search);
if (search.found > 0) if (search.found > 0) {
FREE(search.matches); FREE(search.matches);
}
return 0; return 0;
} }

Loading…
Cancel
Save