From c10098f28be209e90277925e3f983b7e62d1d037 Mon Sep 17 00:00:00 2001 From: Andreas Hansson Date: Tue, 19 Feb 2013 05:56:06 -0500 Subject: scons: Fix up numerous warnings about name shadowing This patch address the most important name shadowing warnings (as produced when using gcc/clang with -Wshadow). There are many locations where constructor parameters and function parameters shadow local variables, but these are left unchanged. --- src/base/inifile.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/base/inifile.cc') diff --git a/src/base/inifile.cc b/src/base/inifile.cc index 91e37f327..011887635 100644 --- a/src/base/inifile.cc +++ b/src/base/inifile.cc @@ -254,7 +254,7 @@ IniFile::Section::printUnreferenced(const string §ionName) for (EntryTable::iterator ei = table.begin(); ei != table.end(); ++ei) { const string &entryName = ei->first; - Entry *entry = ei->second; + entry = ei->second; if (entryName == "unref_section_ok" || entryName == "unref_entries_ok") -- cgit v1.2.3