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 | 36c92f9369bce7d98ee2231bba81028bdc4811ca (patch) | |
| tree | 8086f13fc6ee0cf38dd572c288702539e1c9dd9f /qpid/cpp/src/qmf/ResilientConnection.cpp | |
| parent | 9adec8f80bd7ee7b8ca22a8a3729713158611c30 (diff) | |
| download | qpid-python-36c92f9369bce7d98ee2231bba81028bdc4811ca.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@795752 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/qmf/ResilientConnection.cpp')
| -rw-r--r-- | qpid/cpp/src/qmf/ResilientConnection.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/qpid/cpp/src/qmf/ResilientConnection.cpp b/qpid/cpp/src/qmf/ResilientConnection.cpp index 66d76266ce..610306f896 100644 --- a/qpid/cpp/src/qmf/ResilientConnection.cpp +++ b/qpid/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); + } } |
