OSX/iOS: Updated to Xcode5.

This commit is contained in:
bkaradzic
2013-12-07 10:19:54 -08:00
parent 4970c175c7
commit dee588dfba
6 changed files with 28 additions and 16 deletions

View File

@@ -42,7 +42,7 @@ static const char* tokenizeCommandLine(const char* _commandLine, char* _buffer,
switch (state)
{
case SkipWhitespace:
for (; isspace(*curr); ++curr); // skip whitespace
for (; isspace(*curr); ++curr) {}; // skip whitespace
state = SetTerm;
break;
@@ -92,7 +92,7 @@ static const char* tokenizeCommandLine(const char* _commandLine, char* _buffer,
case Escape:
{
const char* start = --curr;
for (; '\\' == *curr; ++curr);
for (; '\\' == *curr; ++curr) {};
if ('"' != *curr)
{