[Git][NTPsec/ntpsec][master] Update libjsmn with upstream sync

Matt Selsky gitlab at mg.gitlab.com
Sun Jul 21 14:40:10 UTC 2019



Matt Selsky pushed to branch master at NTPsec / ntpsec


Commits:
91ca1748 by Sanjeev Gupta at 2019-07-15T03:56:48Z
Update libjsmn with upstream sync

Upstream accepted Hal's explicit default case for the switch
statement

Last sync on 2019-07-13
https://github.com/zserge/jsmn.git
85695f3d5903b1cd5b4030efe50db3b4f5f3c928

- - - - -


1 changed file:

- libjsmn/jsmn.h


Changes:

=====================================
libjsmn/jsmn.h
=====================================
@@ -154,6 +154,9 @@ static int jsmn_parse_primitive(jsmn_parser *parser, const char *js,
     case ']':
     case '}':
       goto found;
+    default:
+                   /* to quiet a warning from gcc*/
+      break;
     }
     if (js[parser->pos] < 32 || js[parser->pos] >= 127) {
       parser->pos = start;



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/91ca17480ef6260d3650ca9a89652fcebbe0ca78

-- 
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/91ca17480ef6260d3650ca9a89652fcebbe0ca78
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20190721/ee675b9b/attachment.htm>


More information about the vc mailing list