]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Fixed a compiler warning.
authorBart Van Assche <bvanassche@acm.org>
Sun, 31 May 2009 11:54:14 +0000 (11:54 +0000)
committerBart Van Assche <bvanassche@acm.org>
Sun, 31 May 2009 11:54:14 +0000 (11:54 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10178

drd/tests/tsan_thread_wrappers_pthread.h

index a827d90cbba88fdd991bec82004fc62353dd8300..137ad454ff6054ff560d01f1528519b919a68ba3 100644 (file)
@@ -569,7 +569,7 @@ class BlockingCounter {
  public:
   explicit BlockingCounter(int initial_count) :
     count_(initial_count) {}
-  bool DecrementCount() {
+  void DecrementCount() {
     MutexLock lock(&mu_);
     count_--;
   }