aboutsummaryrefslogtreecommitdiff
path: root/gold/testsuite
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>2009-12-14 19:53:05 +0000
committerIan Lance Taylor <ian@airs.com>2009-12-14 19:53:05 +0000
commit2ea97941102380c28117882600265c1187c6fc8b (patch)
tree8f423876f9f118fbe6f7959e60984cd13ad7430d /gold/testsuite
parentab8e2090b6435823d50b29b7a255140ba6ea673f (diff)
downloadbinutils-2ea97941102380c28117882600265c1187c6fc8b.zip
binutils-2ea97941102380c28117882600265c1187c6fc8b.tar.gz
binutils-2ea97941102380c28117882600265c1187c6fc8b.tar.bz2
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.
Diffstat (limited to 'gold/testsuite')
-rw-r--r--gold/testsuite/tls_test_main.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/gold/testsuite/tls_test_main.cc b/gold/testsuite/tls_test_main.cc
index 877889c..0ff02c6 100644
--- a/gold/testsuite/tls_test_main.cc
+++ b/gold/testsuite/tls_test_main.cc
@@ -33,16 +33,16 @@
#define safe_lock(muptr) \
do \
{ \
- int pthread_err = pthread_mutex_lock(muptr); \
- assert(pthread_err == 0); \
+ int err = pthread_mutex_lock(muptr); \
+ assert(err == 0); \
} \
while (0)
#define safe_unlock(muptr) \
do \
{ \
- int pthread_err = pthread_mutex_unlock(muptr); \
- assert(pthread_err == 0); \
+ int err = pthread_mutex_unlock(muptr); \
+ assert(err == 0); \
} \
while (0)