Browse Source

[master] removed an unused function. needed for it to compile with clang++.

okayed on jabber.
JINMEI Tatuya 12 years ago
parent
commit
8f594ed3b5
1 changed files with 1 additions and 6 deletions
  1. 1 6
      src/lib/util/tests/handles_unittest.cc

+ 1 - 6
src/lib/util/tests/handles_unittest.cc

@@ -523,12 +523,7 @@ TEST_F(HandlesTest, ContextDeletionCheck) {
 
 // Tests that the CalloutHandle's constructor and destructor call the
 // context_create and context_destroy callbacks (if registered).  For
-// simplicity, we'll use the same callout functions as used above, plus
-// the following that returns an error:
-
-int returnError(CalloutHandle&) {
-    return (1);
-}
+// simplicity, we'll use the same callout functions as used above.
 
 TEST_F(HandlesTest, ConstructionDestructionCallouts) {