From 91d6fa6a035cc7d0b7be5c99c194a64cb80924b0 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 11 Dec 2009 13:42:17 +0000 Subject: Add -Wshadow to the gcc command line options used when compiling the binutils. Fix up all warnings generated by the addition of this switch. --- gold/reloc.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gold/reloc.h') diff --git a/gold/reloc.h b/gold/reloc.h index 5dd4c85..30a55ff 100644 --- a/gold/reloc.h +++ b/gold/reloc.h @@ -259,10 +259,10 @@ class Relocatable_relocs // Record what to do for the next reloc. void - set_next_reloc_strategy(Reloc_strategy strategy) + set_next_reloc_strategy(Reloc_strategy astrategy) { - this->reloc_strategies_.push_back(static_cast(strategy)); - if (strategy != RELOC_DISCARD) + this->reloc_strategies_.push_back(static_cast(astrategy)); + if (astrategy != RELOC_DISCARD) ++this->output_reloc_count_; } -- cgit v1.1