Avoid GCC maybe-uninitialized warning
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7185 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
4c75c1e9c6
commit
7bad4de01a
1 changed files with 3 additions and 0 deletions
|
@ -118,6 +118,9 @@ nextnum:
|
||||||
const TCHAR *p=str, *parse=p, *xoperandpfixstart, *xoperandpfixend;
|
const TCHAR *p=str, *parse=p, *xoperandpfixstart, *xoperandpfixend;
|
||||||
TCHAR *end;
|
TCHAR *end;
|
||||||
int neg=0, base=0, num;
|
int neg=0, base=0, num;
|
||||||
|
#ifndef _MSC_VER
|
||||||
|
xoperandpfixstart=xoperandpfixend=0; // Avoid GCC maybe-uninitialized warning
|
||||||
|
#endif
|
||||||
|
|
||||||
if (expressions)
|
if (expressions)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue