[Libreoffice-commits] online.git: net/DelaySocket.cpp

Michael Meeks michael.meeks at collabora.com
Mon Apr 24 10:39:55 UTC 2017


 net/DelaySocket.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit ec12a0e16be062d9e154e8a1ea2c09f3c3d94dba
Author: Michael Meeks <michael.meeks at collabora.com>
Date:   Mon Apr 24 11:35:13 2017 +0100

    DelaySocket: kill warning.

diff --git a/net/DelaySocket.cpp b/net/DelaySocket.cpp
index 29a7fc1d..723357c1 100644
--- a/net/DelaySocket.cpp
+++ b/net/DelaySocket.cpp
@@ -233,7 +233,7 @@ namespace Delay {
     {
         int pair[2];
         int rc = socketpair(AF_UNIX, SOCK_STREAM | SOCK_NONBLOCK | SOCK_CLOEXEC, 0, pair);
-        assert (rc == 0);
+        assert (rc == 0); (void)rc;
         int internalFd = pair[0];
         int delayFd = pair[1];
 


More information about the Libreoffice-commits mailing list