mirror of
https://github.com/zeek/zeek.git
synced 2025-10-05 16:18:19 +00:00
HLL: Remove unnecessary comparison.
Rank always returns at least 1, hence this check is not necessary.
This commit is contained in:
parent
3aabe83ec6
commit
b7c64c4522
1 changed files with 0 additions and 3 deletions
|
@ -133,9 +133,6 @@ void CardinalityCounter::AddElement(uint64_t hash)
|
|||
|
||||
if ( temp > buckets[index] )
|
||||
buckets[index] = temp;
|
||||
|
||||
if ( buckets[index] == 0 )
|
||||
V++;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue