From 1e71b3e1bd6f702cb7b8d4bc0b004b4da9138aef Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Sun, 31 May 2009 11:54:14 +0000 Subject: [PATCH] Fixed a compiler warning. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10178 --- drd/tests/tsan_thread_wrappers_pthread.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drd/tests/tsan_thread_wrappers_pthread.h b/drd/tests/tsan_thread_wrappers_pthread.h index a827d90cb..137ad454f 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_--; }