Add another patch occurrence
authorTobias Markus <tobbi@mozilla-uk.org>
Tue, 3 Mar 2015 17:37:27 +0000 (18:37 +0100)
committerTobias Markus <tobbi@mozilla-uk.org>
Tue, 3 Mar 2015 17:37:27 +0000 (18:37 +0100)
squirrel_coverity.patch

index 82681aa..5648319 100644 (file)
@@ -70,3 +70,15 @@ index de0927f..e941231 100644
                        case _OP_CALL: {\r
                                        SQObjectPtr clo = STK(arg1);\r
                                        switch (type(clo)) {\r
+diff --git a/external/squirrel/squirrel/sqlexer.cpp b/external/squirrel/squirrel/sqlexer.cpp
+index 547835b..178401d 100644
+--- a/external/squirrel/squirrel/sqlexer.cpp
++++ b/external/squirrel/squirrel/sqlexer.cpp
+@@ -203,6 +203,7 @@ SQInteger SQLexer::Lex()
+                       }\r
+                       Error(_SC("error parsing the string"));\r
+                                          }\r
++            break;\r
+               case _SC('"'):\r
+               case _SC('\''): {\r
+                       SQInteger stype;\r