[Libreoffice-commits] online.git: net/Socket.cpp
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Mon Apr 1 12:19:22 UTC 2019
net/Socket.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 71b9faca7cb367668c87b5baa7836b523e783bf1
Author: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
AuthorDate: Mon Apr 1 14:18:23 2019 +0200
Commit: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
CommitDate: Mon Apr 1 14:18:23 2019 +0200
Fix -Werror=maybe-uninitialized
Change-Id: I076fb4b9ef80e4fbf13cdd22cff51ab1e99a2c6c
diff --git a/net/Socket.cpp b/net/Socket.cpp
index f4fb12c2b..345f566e2 100644
--- a/net/Socket.cpp
+++ b/net/Socket.cpp
@@ -43,7 +43,7 @@ std::atomic<bool> Socket::InhibitThreadChecks(false);
int Socket::createSocket(Socket::Type type)
{
#if !MOBILEAPP
- int domain;
+ int domain = AF_UNSPEC;
switch (type)
{
case Type::IPv4: domain = AF_INET; break;
More information about the Libreoffice-commits
mailing list