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

This commit is contained in:
Miklos Vajna
2016-04-01 11:36:39 +02:00
parent fb23653f88
commit 2b6eb3fd76
21 changed files with 184 additions and 184 deletions

View File

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