Kill some compiler warnings under Linux and mingw32
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4994 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
edeb26b7a7
commit
747ad310e5
25 changed files with 37 additions and 37 deletions
|
@ -276,7 +276,7 @@ void FloatFormatF(char *s, double value, int prec)
|
|||
|
||||
void FloatFormatE(char *s, double fnum, int options)
|
||||
{
|
||||
int fpower, fsign, fdigit, fprec = 0, prec, fzfill = 0;
|
||||
int fpower, fsign, fdigit, fprec = 0, prec;
|
||||
double sfnum;
|
||||
|
||||
prec = options & 0xF;
|
||||
|
@ -373,4 +373,4 @@ int lstrcmpn(char *s1, const char *s2, int chars)
|
|||
while ((chars > 0) && (*s1) && (*s2) && (*(s1) == *(s2))) chars--, s1++, s2++;
|
||||
if ((chars == 0) || (*s1 == *s2)) return 0;
|
||||
return (*s1 - *s2);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -163,4 +163,4 @@ void StringToItem(char *&sbuf, ExpressionItem *item, int options);
|
|||
void ItemToString(char *sbuf, ExpressionItem *item);
|
||||
void FloatFormat(char *sbuf, double value, int options);
|
||||
void itoa64(__int64 i, char *buffer);
|
||||
int lstrcmpn(char *s1, const char *s2, int chars);
|
||||
int lstrcmpn(char *s1, const char *s2, int chars);
|
||||
|
|
|
@ -133,4 +133,4 @@ ExpressionItem *CopyItem(ExpressionItem *citem, int NeedConst)
|
|||
item->param2 = citem->param2;
|
||||
item->next = NULL;
|
||||
return item;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue