From 7bad4de01a503b9f37192337814ca81863724200 Mon Sep 17 00:00:00 2001 From: anders_k Date: Sat, 6 Jun 2020 13:17:43 +0000 Subject: [PATCH] Avoid GCC maybe-uninitialized warning git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7185 212acab6-be3b-0410-9dea-997c60f758d6 --- Source/lineparse.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/lineparse.cpp b/Source/lineparse.cpp index 95eeecd8..ee1cb32d 100644 --- a/Source/lineparse.cpp +++ b/Source/lineparse.cpp @@ -118,6 +118,9 @@ nextnum: const TCHAR *p=str, *parse=p, *xoperandpfixstart, *xoperandpfixend; TCHAR *end; int neg=0, base=0, num; +#ifndef _MSC_VER + xoperandpfixstart=xoperandpfixend=0; // Avoid GCC maybe-uninitialized warning +#endif if (expressions) {