Revert "GH #1050 Foundation-tests: fix gcc -Wshadow warnings"

This commit is contained in:
Günter Obiltschnig
2016-09-05 08:28:18 +02:00
committed by GitHub
parent 9f6048a8d6
commit f7d3737526
21 changed files with 184 additions and 184 deletions

View File

@@ -334,14 +334,14 @@ public:
{
if (_entries[i])
{
UInt32 entrySize = (UInt32)_entries[i]->size();
poco_assert_dbg(entrySize != 0);
if (entrySize > maxEntriesPerHash)
maxEntriesPerHash = entrySize;
UInt32 size = (UInt32)_entries[i]->size();
poco_assert_dbg(size != 0);
if (size > maxEntriesPerHash)
maxEntriesPerHash = size;
if (details)
detailedEntriesPerHash.push_back(entrySize);
detailedEntriesPerHash.push_back(size);
#ifdef _DEBUG
totalSize += entrySize;
totalSize += size;
#endif
}
else