summaryrefslogtreecommitdiff
path: root/gold/workqueue.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2009-12-11 13:42:17 +0000
committerNick Clifton <nickc@redhat.com>2009-12-11 13:42:17 +0000
commit91d6fa6a035cc7d0b7be5c99c194a64cb80924b0 (patch)
tree214507c313b77d619b52afcae2af0b02c9fa700b /gold/workqueue.h
parent01fe1b4183324882e88e8c64748bffdc69ea3a9c (diff)
downloadbinutils-gdb-91d6fa6a035cc7d0b7be5c99c194a64cb80924b0.tar.gz
Add -Wshadow to the gcc command line options used when compiling the binutils.
Fix up all warnings generated by the addition of this switch.
Diffstat (limited to 'gold/workqueue.h')
-rw-r--r--gold/workqueue.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gold/workqueue.h b/gold/workqueue.h
index 75452241d80..a17ec9df6a5 100644
--- a/gold/workqueue.h
+++ b/gold/workqueue.h
@@ -150,8 +150,8 @@ class Task_function : public Task
// RUNNER and BLOCKER should be allocated using new, and will be
// deleted after the task runs.
Task_function(Task_function_runner* runner, Task_token* blocker,
- const char* name)
- : runner_(runner), blocker_(blocker), name_(name)
+ const char* tname)
+ : runner_(runner), blocker_(blocker), name_(tname)
{ }
~Task_function()