]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2332] missing cleanup: removed an unused function.
authorJINMEI Tatuya <jinmei@isc.org>
Fri, 12 Oct 2012 21:32:22 +0000 (14:32 -0700)
committerJINMEI Tatuya <jinmei@isc.org>
Fri, 12 Oct 2012 21:32:22 +0000 (14:32 -0700)
src/lib/util/threads/tests/condvar_unittest.cc

index 2695f842a305cfad2da6e4b628c7310e2cfa3b13..4de4f856e8ca752a0ae0fe9bd0efec9c73f5753a 100644 (file)
@@ -128,12 +128,6 @@ TEST_F(CondVarTest, multiWaits) {
     EXPECT_EQ(4, shared_var);
 }
 
-void
-waiter(CondVar* condver, Mutex* mutex) {
-    Mutex::Locker locker(*mutex);
-    condver->wait(*mutex);
-}
-
 // Similar to the previous version of the same function, but just do
 // condvar operations.  It will never wake up.
 void