diff options
author | Gordon Sim <gsim@apache.org> | 2009-07-20 10:41:29 +0000 |
---|---|---|
committer | Gordon Sim <gsim@apache.org> | 2009-07-20 10:41:29 +0000 |
commit | 3b15e97c5dffa35bc384e2c78e6447c3e6cd903f (patch) | |
tree | f55331e1323b03b89f0dd2b05649dbfbee6ef52c /cpp/src/qmf/ResilientConnection.cpp | |
parent | 6c20c25cb8fb24aba314044cb7f884f34cc90a52 (diff) | |
download | qpid-python-3b15e97c5dffa35bc384e2c78e6447c3e6cd903f.tar.gz |
QPID-1993: Patch from Chenta Lee to prevent compiler warnings with GCC 4.3.3
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@795752 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qmf/ResilientConnection.cpp')
-rw-r--r-- | cpp/src/qmf/ResilientConnection.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cpp/src/qmf/ResilientConnection.cpp b/cpp/src/qmf/ResilientConnection.cpp index 66d76266ce..610306f896 100644 --- a/cpp/src/qmf/ResilientConnection.cpp +++ b/cpp/src/qmf/ResilientConnection.cpp @@ -385,7 +385,10 @@ void ResilientConnectionImpl::EnqueueEvent(ResilientConnectionEvent::EventKind k eventQueue.push_back(event); if (notifyFd != -1) - ::write(notifyFd, ".", 1); + { + int unused_ret; //Suppress warnings about ignoring return value. + unused_ret = ::write(notifyFd, ".", 1); + } } |