avoid gcc uninitialized warning
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4663 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
8524adc662
commit
9ed073277d
1 changed files with 1 additions and 1 deletions
|
@ -131,7 +131,7 @@ class SortedStringListND // no delete - can be placed in GrowBuf
|
|||
// returns -1 when name already exists and pos if added
|
||||
int add(const char *name, int case_sensitive=0, int alwaysreturnpos=0)
|
||||
{
|
||||
int where;
|
||||
int where=0;
|
||||
T newstruct={0,};
|
||||
int pos=find(name,-1,case_sensitive,1,&where);
|
||||
if (pos==-1) return alwaysreturnpos ? where : -1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue