mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-21 17:20:50 +00:00
dbms: fixed errors on gcc-5 [#METR-18843].
This commit is contained in:
parent
302e726a14
commit
af37192e0c
@ -69,6 +69,11 @@ void aggregate1(Map & map, Source::const_iterator begin, Source::const_iterator
|
||||
++map[*it];
|
||||
}
|
||||
|
||||
#if !__clang__
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
|
||||
#endif
|
||||
|
||||
void aggregate12(Map & map, Source::const_iterator begin, Source::const_iterator end)
|
||||
{
|
||||
Map::iterator found;
|
||||
@ -94,11 +99,6 @@ void aggregate2(MapTwoLevel & map, Source::const_iterator begin, Source::const_i
|
||||
++map[*it];
|
||||
}
|
||||
|
||||
#if !__clang__
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
|
||||
#endif
|
||||
|
||||
void aggregate22(MapTwoLevel & map, Source::const_iterator begin, Source::const_iterator end)
|
||||
{
|
||||
MapTwoLevel::iterator found;
|
||||
|
Loading…
Reference in New Issue
Block a user