From: Bart Van Assche Date: Sun, 31 May 2009 11:54:14 +0000 (+0000) Subject: Fixed a compiler warning. X-Git-Tag: svn/VALGRIND_3_5_0~587 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e71b3e1bd6f702cb7b8d4bc0b004b4da9138aef;p=thirdparty%2Fvalgrind.git Fixed a compiler warning. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10178 --- diff --git a/drd/tests/tsan_thread_wrappers_pthread.h b/drd/tests/tsan_thread_wrappers_pthread.h index a827d90cbb..137ad454ff 100644 --- a/drd/tests/tsan_thread_wrappers_pthread.h +++ b/drd/tests/tsan_thread_wrappers_pthread.h @@ -569,7 +569,7 @@ class BlockingCounter { public: explicit BlockingCounter(int initial_count) : count_(initial_count) {} - bool DecrementCount() { + void DecrementCount() { MutexLock lock(&mu_); count_--; }