Browse Source

* simdb_search : use memset instead assignments

master
Alex 'AdUser' Z 7 years ago
parent
commit
4858de8b27
  1. 3
      src/database.c

3
src/database.c

@ -428,8 +428,7 @@ simdb_search(simdb_t *db, simdb_search_t *search, simdb_urec_t *sample, int skip
if (num + i == skip) if (num + i == skip)
continue; /* source sample */ continue; /* source sample */
match.d_ratio = 0.0; memset(&match, 0x0, sizeof(simdb_match_t));
match.d_bitmap = 0.0;
/* - compare ratio - cheap */ /* - compare ratio - cheap */
/* TODO: check caps */ /* TODO: check caps */

Loading…
Cancel
Save