- Bug #3200841: removed "warning C4127: conditional expression is constant" concerning infinite loop by replacing while (true) with for (;;). Added new JSON_FAIL macro. Commented unused parameters.

This commit is contained in:
Baptiste Lepilleur
2011-05-02 16:51:48 +00:00
parent d0a9f3d98d
commit e0e1fd37cd
3 changed files with 146 additions and 11 deletions

View File

@@ -449,7 +449,7 @@ Reader::readString()
bool
Reader::readObject( Token &tokenStart )
Reader::readObject( Token &/*tokenStart*/ )
{
Token tokenName;
std::string name;
@@ -508,7 +508,7 @@ Reader::readObject( Token &tokenStart )
bool
Reader::readArray( Token &tokenStart )
Reader::readArray( Token &/*tokenStart*/ )
{
currentValue() = Value( arrayValue );
skipSpaces();