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:
pabs3 2007-03-11 15:58:46 +00:00
parent edeb26b7a7
commit 747ad310e5
25 changed files with 37 additions and 37 deletions

View file

@ -187,7 +187,7 @@ params:
DWORD dwExit = !STILL_ACTIVE;
DWORD dwLastOutput;
static char szBuf[1024];
HGLOBAL hUnusedBuf;
HGLOBAL hUnusedBuf = NULL;
char *szUnusedBuf = 0;
if (log) {
@ -255,7 +255,7 @@ params:
}
if (!(log & 2)) {
while (p = my_strstr(p, "\t")) {
while ((p = my_strstr(p, "\t"))) {
if ((int)(p - szUnusedBuf) > (int)(GlobalSize(hUnusedBuf) - TAB_REPLACE_SIZE - 1))
{
*p++ = ' ';