[Libreoffice-commits] online.git: net/Socket.hpp

Andras Timar andras.timar at collabora.com
Mon Mar 13 12:23:19 UTC 2017


 net/Socket.hpp |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 07c0452ec1ec68e7a4d19928935444470d9a9ad5
Author: Andras Timar <andras.timar at collabora.com>
Date:   Mon Mar 13 13:22:45 2017 +0100

    fix error: unused parameter 'hard' [-Werror=unused-parameter]
    
    Change-Id: Ie2f2a12cc2f5d6c2fd3319d3c870cc7f0a226fae

diff --git a/net/Socket.hpp b/net/Socket.hpp
index 16c0cdc..396339f 100644
--- a/net/Socket.hpp
+++ b/net/Socket.hpp
@@ -196,6 +196,7 @@ public:
         else
             return !getenv("LOOL_CHECK_THREADS") || sameThread;
 #else
+        (void)hard;
         return true;
 #endif
     }


More information about the Libreoffice-commits mailing list