Fix warnings.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1982 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
+1
-2
@@ -399,7 +399,7 @@ static int
|
||||
parseOptions(int argc, char *argv[], struct options_struct *options)
|
||||
{
|
||||
int optionIndex = 0;
|
||||
BOOLEAN badArg = 0;
|
||||
BOOLEAN badArg = FALSE;
|
||||
|
||||
options->addons = HMalloc(1 * sizeof (const char *));
|
||||
options->addons[0] = NULL;
|
||||
@@ -651,7 +651,6 @@ parseOptions(int argc, char *argv[], struct options_struct *options)
|
||||
longOptions[optionIndex].name);
|
||||
badArg = TRUE;
|
||||
break;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user