From 8da89f54bd52023ab7dd8169e3aab25518012cb6 Mon Sep 17 00:00:00 2001 From: StilesCrisis Date: Wed, 8 Mar 2017 01:16:19 -0800 Subject: [PATCH] Fix GCC warning --- example/lookaheadparser/lookaheadparser.cpp | 1 + 1 file changed, 1 insertion(+) 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; } }