Gcc warning unused "tokenStart"

(was #301)

In `0.y.z` branch, `tokenStart` is not used.
Comment it as done in other cases.
This commit is contained in:
Gaurav 2015-07-05 14:24:35 +05:30 committed by Christopher Dunn
parent f1cafb6ded
commit ef38374e99

View File

@ -1265,7 +1265,7 @@ bool OurReader::readStringSingleQuote() {
return c == '\'';
}
bool OurReader::readObject(Token& tokenStart) {
bool OurReader::readObject(Token& /*tokenStart*/) {
Token tokenName;
std::string name;
Value init(objectValue);
@ -1326,7 +1326,7 @@ bool OurReader::readObject(Token& tokenStart) {
"Missing '}' or object member name", tokenName, tokenObjectEnd);
}
bool OurReader::readArray(Token& tokenStart) {
bool OurReader::readArray(Token& /*tokenStart*/) {
Value init(arrayValue);
currentValue().swapPayload(init);
skipSpaces();