diff options
| author | Alan Conway <aconway@apache.org> | 2014-07-21 16:15:42 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2014-07-21 16:15:42 +0000 |
| commit | e4e12129abf3e332c59eedc1348a402941c3f33e (patch) | |
| tree | 0423ce16c5b2fd6092426bfd25e74c92864b90cf /qpid/cpp/src | |
| parent | c940f617018832135605f59645f2f85e7b9dca39 (diff) | |
| download | qpid-python-e4e12129abf3e332c59eedc1348a402941c3f33e.tar.gz | |
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
Diffstat (limited to 'qpid/cpp/src')
| -rw-r--r-- | qpid/cpp/src/qpid/sys/Waitable.h | 3 |
1 files changed, 2 insertions, 1 deletions
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: |
