Minor formatting change; fix for C99-challenged VC6

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2218 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
avolkov
2006-01-20 07:30:07 +00:00
parent 14277e9b16
commit 1da9f22b75
+6 -4
View File
@@ -1044,14 +1044,16 @@ GetNewList:
if (status == -1) if (status == -1)
{ {
fprintf(stderr, "Could not load '%s'\n", file); BOOLEAN deleteStatus;
BOOLEAN deleteStatus = DeleteResFile (meleeDir, file); fprintf (stderr, "Could not load '%s'\n", file);
deleteStatus = DeleteResFile (meleeDir, file);
if (deleteStatus == FALSE) if (deleteStatus == FALSE)
{ {
// XXX: see bug #823 // XXX: see bug #823
fprintf(stderr, "FATAL: Could not delete '%s'\n", file); fprintf (stderr, "FATAL: Could not delete '%s'\n", file);
abort(); abort ();
} }
goto GetNewList; goto GetNewList;
} }