mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-24 10:40:49 +00:00
Merge pull request #6775 from yandex/aku/pvs-warning
Remove a redundant condition (found by PVS Studio).
This commit is contained in:
commit
3f5d0ef2a8
@ -332,7 +332,7 @@ UInt64 geohashesInBox(const GeohashesInBoxPreparedArgs & args, char * out)
|
||||
}
|
||||
}
|
||||
|
||||
if (items == 0 && args.items_count != 0)
|
||||
if (items == 0)
|
||||
{
|
||||
size_t l = geohashEncodeImpl(args.longitude_min, args.latitude_min, args.precision, out);
|
||||
out += l;
|
||||
|
Loading…
Reference in New Issue
Block a user