dbms: fixed errors on gcc-5 [#METR-18843].

This commit is contained in:
Alexey Milovidov 2015-11-16 07:15:53 +03:00
parent 302e726a14
commit af37192e0c

View File

@ -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;