From da31c276c8385b5b1d37661b34d2f48ee1d7b9b4 Mon Sep 17 00:00:00 2001 From: "Jan Alexander Steffens (heftig)" Date: Sat, 19 May 2018 12:42:48 +0200 Subject: [PATCH] identd: Avoid a maybe-uninitialized warning --- src/core/identserver.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/identserver.cpp b/src/core/identserver.cpp index 13b32fa6..1f668403 100644 --- a/src/core/identserver.cpp +++ b/src/core/identserver.cpp @@ -110,7 +110,7 @@ void IdentServer::respond() { bool success = false; - quint16 localPort; + quint16 localPort = 0; if (!split.empty()) { localPort = split[0].trimmed().toUShort(&success, 10); } -- 2.20.1