diff options
Diffstat (limited to 'cpp/src/qmf/engine/ResilientConnection.cpp')
| -rw-r--r-- | cpp/src/qmf/engine/ResilientConnection.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/qmf/engine/ResilientConnection.cpp b/cpp/src/qmf/engine/ResilientConnection.cpp index 41dd9ff00c..851193ccc1 100644 --- a/cpp/src/qmf/engine/ResilientConnection.cpp +++ b/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)) {} } } |
