diff options
author | Ian Lance Taylor <ian@airs.com> | 2009-12-14 19:53:05 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 2009-12-14 19:53:05 +0000 |
commit | 2ea97941102380c28117882600265c1187c6fc8b (patch) | |
tree | 8f423876f9f118fbe6f7959e60984cd13ad7430d /gold/testsuite | |
parent | ab8e2090b6435823d50b29b7a255140ba6ea673f (diff) | |
download | gdb-2ea97941102380c28117882600265c1187c6fc8b.zip gdb-2ea97941102380c28117882600265c1187c6fc8b.tar.gz gdb-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.cc | 8 |
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) |