diff options
| author | Alan Conway <aconway@apache.org> | 2008-07-15 16:49:25 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2008-07-15 16:49:25 +0000 |
| commit | 7a358f155d2be4b052a8c1732bfec5c09da92d4d (patch) | |
| tree | a585af9b246b73b21eb35162548a3b9f3608d6ab /qpid/cpp/src | |
| parent | b29078ad1293a07271cb278a80f9b1d8cbdd81a4 (diff) | |
| download | qpid-python-7a358f155d2be4b052a8c1732bfec5c09da92d4d.tar.gz | |
Fix "ignoring return value" warning from LockFile.h.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@676963 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src')
| -rw-r--r-- | qpid/cpp/src/qpid/sys/posix/LockFile.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/src/qpid/sys/posix/LockFile.h b/qpid/cpp/src/qpid/sys/posix/LockFile.h index a8fbb678b8..027735e759 100644 --- a/qpid/cpp/src/qpid/sys/posix/LockFile.h +++ b/qpid/cpp/src/qpid/sys/posix/LockFile.h @@ -43,7 +43,7 @@ public: ~LockFile() { if (fd >= 0) { - ::lockf(fd, F_ULOCK, 0); + (void) ::lockf(fd, F_ULOCK, 0); // Suppress warnings about ignoring return value. ::close(fd); } } |
