Change-Id: I32b42fd8db481fcbdce4b934fc990c118293850d
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
break;
case '%':
c = 0;
+ /*@fallthrough@*/
default:
mini[1] = c;
v = mini;
reload = j_boolean_at(req, "reload", 1);
break;
}
+ /*@fallthrough@*/
default:
jbus_reply_error_s(smsg, error_bad_request);
return;
root = j_string_at(req, "root", rootdir);
break;
}
+ /*@fallthrough@*/
default:
jbus_reply_error_s(smsg, error_bad_request);
return;
template++;
}
c = '&';
+ /*@fallthrough@*/
case '^':
case '#':
case '/':
} else {
if (c == '\\') {
switch (read[1]) {
- case '\\': *write++ = c;
- case '=': c = *++read;
+ case '\\': *write++ = c; /*@fallthrough@*/
+ case '=': c = *++read; /*@fallthrough@*/
default: break;
}
}
while (c && c != '/') {
if (c == '~') {
switch(read[1]) {
- case '1': c = '/';
- case '0': read++;
+ case '1': c = '/'; /*@fallthrough@*/
+ case '0': read++; /*@fallthrough@*/
default: break;
}
}