aboutsummaryrefslogtreecommitdiffstats
path: root/src/mustach.c
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2017-09-05 14:35:13 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2017-09-05 14:35:13 +0200
commitc4579930a9961da68fe9e07594a9f893f11b83d2 (patch)
tree4d1eb2262e049ca284db806aae8fa33290ba17dd /src/mustach.c
parent037d537b635b5136f0ffe25627dcac8a810c7418 (diff)
Fix warnings 'implicit-fallthrough' of gcc 7
Change-Id: I32b42fd8db481fcbdce4b934fc990c118293850d Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/mustach.c')
-rw-r--r--src/mustach.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mustach.c b/src/mustach.c
index 03f3cb1..9868cff 100644
--- a/src/mustach.c
+++ b/src/mustach.c
@@ -99,6 +99,7 @@ static int process(const char *template, struct mustach_itf *itf, void *closure,
template++;
}
c = '&';
+ /*@fallthrough@*/
case '^':
case '#':
case '/':