Fixed 5 GCC warnings

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6502 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
anders_k 2014-06-22 18:50:54 +00:00
parent 0c0d2d3f2f
commit 6bba242764
4 changed files with 8 additions and 5 deletions

View file

@ -3136,9 +3136,9 @@ int CEXEBuild::doCommand(int which_token, LineParser &line)
case TOK_P_MAKENSIS:
{
const TCHAR *cmdname=get_commandtoken_name(which_token);
const TCHAR *exec=line.gettoken_str(1), *define;
const TCHAR *exec=line.gettoken_str(1), *define=0;
int comp=line.gettoken_enum(2,_T("<\0>\0<>\0=\0ignore\0"));
int validparams=true, ret=-1, cmpv;
int validparams=true, ret=-1, cmpv=0;
switch(line.getnumtokens()-1)
{
case 1: comp=4; break;