diff --git a/example/lookaheadparser/lookaheadparser.cpp b/example/lookaheadparser/lookaheadparser.cpp index 7c7f387..f4759c4 100644 --- a/example/lookaheadparser/lookaheadparser.cpp +++ b/example/lookaheadparser/lookaheadparser.cpp @@ -269,6 +269,7 @@ int LookaheadParser::PeekType() { case kExitingArray: case kExitingObject: case kError: + default: return -1; } }