diff options
| author | Ted Ross <tross@apache.org> | 2011-11-22 21:32:48 +0000 |
|---|---|---|
| committer | Ted Ross <tross@apache.org> | 2011-11-22 21:32:48 +0000 |
| commit | 683e70b3190ba4d3094d4af8fd31e20b28b05c0e (patch) | |
| tree | 48087448c2f21291dc82c5964ab27aeca3858f82 /qpid/cpp/src/qmf/engine/ResilientConnection.cpp | |
| parent | 12d077aeeeaded19e6cae56daa86d9954cad5bea (diff) | |
| download | qpid-python-683e70b3190ba4d3094d4af8fd31e20b28b05c0e.tar.gz | |
NO-JIRA - Fixed the handling of functions with ignored return values.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1205183 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/qmf/engine/ResilientConnection.cpp')
| -rw-r--r-- | qpid/cpp/src/qmf/engine/ResilientConnection.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qpid/cpp/src/qmf/engine/ResilientConnection.cpp b/qpid/cpp/src/qmf/engine/ResilientConnection.cpp index 41dd9ff00c..851193ccc1 100644 --- a/qpid/cpp/src/qmf/engine/ResilientConnection.cpp +++ b/qpid/cpp/src/qmf/engine/ResilientConnection.cpp @@ -334,7 +334,7 @@ void ResilientConnectionImpl::notify() { if (notifyFd != -1) { - (void) ::write(notifyFd, ".", 1); + if (::write(notifyFd, ".", 1)) {} } } @@ -431,7 +431,7 @@ void ResilientConnectionImpl::EnqueueEvent(ResilientConnectionEvent::EventKind k if (notifyFd != -1) { - (void) ::write(notifyFd, ".", 1); + if (::write(notifyFd, ".", 1)) {} } } |
