GH #1050 PageCompiler: fix gcc -Wshadow warnings

This commit is contained in:
Miklos Vajna
2016-03-29 15:07:35 +02:00
parent 16fd082236
commit b997cc25d0
6 changed files with 51 additions and 51 deletions

View File

@@ -103,8 +103,8 @@ void RecordSet::reset(const Statement& stmt)
_totalRowCount = UNKNOWN_TOTAL_ROW_COUNT;
RowMap::iterator it = _rowMap.begin();
RowMap::iterator end = _rowMap.end();
for (; it != end; ++it) delete it->second;
RowMap::iterator itEnd = _rowMap.end();
for (; it != itEnd; ++it) delete it->second;
_rowMap.clear();
Statement::operator = (stmt);