Commit 7cc1823e authored by Clément Stenac's avatar Clément Stenac

Don't read uninitialized values

parent 26d5b738
...@@ -78,8 +78,7 @@ static int FindSlot( hashtable_entry_t *p_array, int i_count, uint64_t i_hash ) ...@@ -78,8 +78,7 @@ static int FindSlot( hashtable_entry_t *p_array, int i_count, uint64_t i_hash )
{ {
int i_middle; int i_middle;
if( i_count == 0 || i_hash <= p_array[0].i_hash )
if( i_hash <= p_array[0].i_hash )
{ {
return 0; return 0;
} }
......
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