aboutsummaryrefslogtreecommitdiff
path: root/drd
diff options
context:
space:
mode:
authorbart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9>2009-05-31 11:54:14 +0000
committerbart <bart@a5019735-40e9-0310-863c-91ae7b9d1cf9>2009-05-31 11:54:14 +0000
commitf38d1a19430470396b930276becfd35722361e3e (patch)
tree3e26e655db7f5c32d5f8c16ae0b2f296e0cd897c /drd
parent263476b9921f9ba48adec8fc2395fdac063b1eaa (diff)
downloadvalgrind-f38d1a19430470396b930276becfd35722361e3e.tar.gz
Fixed a compiler warning.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10178 a5019735-40e9-0310-863c-91ae7b9d1cf9
Diffstat (limited to 'drd')
-rw-r--r--drd/tests/tsan_thread_wrappers_pthread.h2
1 files changed, 1 insertions, 1 deletions
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_--;
}