From e4e12129abf3e332c59eedc1348a402941c3f33e Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Mon, 21 Jul 2014 16:15:42 +0000 Subject: NO-JIRA: Fix unreachable code in Waitable.cpp git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1612336 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/src/qpid/sys/Waitable.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'qpid/cpp/src') diff --git a/qpid/cpp/src/qpid/sys/Waitable.h b/qpid/cpp/src/qpid/sys/Waitable.h index 912cb3a2d9..56f71023c5 100644 --- a/qpid/cpp/src/qpid/sys/Waitable.h +++ b/qpid/cpp/src/qpid/sys/Waitable.h @@ -95,8 +95,9 @@ class Waitable : public Monitor { /** Throws an exception if one is set before or during the wait. */ bool wait(const AbsTime& absoluteTime) { exception.raise(); - return Monitor::wait(absoluteTime); + bool result = Monitor::wait(absoluteTime); exception.raise(); + return result; } private: -- cgit v1.2.1