mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2025-01-09 11:17:30 +01:00
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:
parent
f1cafb6ded
commit
ef38374e99
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user