diff options
-rw-r--r-- | cpp/src/tests/DispatcherTest.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cpp/src/tests/DispatcherTest.cpp b/cpp/src/tests/DispatcherTest.cpp index 6177e7bd11..ff4806094b 100644 --- a/cpp/src/tests/DispatcherTest.cpp +++ b/cpp/src/tests/DispatcherTest.cpp @@ -108,8 +108,7 @@ void timer_handler(int /*signo*/, siginfo_t* /*info*/, void* /*context*/) { wh->call(wcb); } else { phase1finished = true; - int rc = ::timer_delete(timer); - assert(rc == 0); + assert(::timer_delete(timer) == 0); } } |