Revert -Wshadow changes, all changes from:

2009-12-11  Doug Kwan  <dougkwan@google.com>
	2009-12-11  Nick Clifton  <nickc@redhat.com>
	* configure.ac: Remove -Wshadow when setting WARN_CXXFLAGS.
This commit is contained in:
Ian Lance Taylor
2009-12-14 19:53:05 +00:00
parent ab8e2090b6
commit 2ea9794110
53 changed files with 1778 additions and 1768 deletions

View File

@@ -259,10 +259,10 @@ class Relocatable_relocs
// Record what to do for the next reloc.
void
set_next_reloc_strategy(Reloc_strategy astrategy)
set_next_reloc_strategy(Reloc_strategy strategy)
{
this->reloc_strategies_.push_back(static_cast<unsigned char>(astrategy));
if (astrategy != RELOC_DISCARD)
this->reloc_strategies_.push_back(static_cast<unsigned char>(strategy));
if (strategy != RELOC_DISCARD)
++this->output_reloc_count_;
}