Skip to content

Commit

Permalink
Merge pull request #106 from marsqing/master
Browse files Browse the repository at this point in the history
fix calling _skipUnknownValue() twice
  • Loading branch information
cowtowncoder authored Aug 25, 2017
2 parents 1ea012f + 3759476 commit b8c02d0
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -923,7 +923,6 @@ private JsonToken _skipUnknownField(int tag, int wireType) throws IOException
// Note: may be null; if so, value needs to be skipped
_currentField = _currentMessage.field(tag >> 3);
if (_currentField == null) {
_skipUnknownValue(wireType);
continue;
}
_parsingContext.setCurrentName(_currentField.name);
Expand Down

0 comments on commit b8c02d0

Please sign in to comment.