diff options
Diffstat (limited to 'source/blender/blenlib/intern/smallhash.c')
-rw-r--r-- | source/blender/blenlib/intern/smallhash.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/smallhash.c b/source/blender/blenlib/intern/smallhash.c index b012ff36bf1..7da5ff114be 100644 --- a/source/blender/blenlib/intern/smallhash.c +++ b/source/blender/blenlib/intern/smallhash.c @@ -405,8 +405,9 @@ double BLI_smallhash_calc_quality(SmallHash *sh) uint64_t sum = 0; uint i; - if (sh->nentries == 0) + if (sh->nentries == 0) { return -1.0; + } for (i = 0; i < sh->nbuckets; i++) { if (sh->buckets[i].key != SMHASH_KEY_UNUSED) { |