Code Review
/
src
/
app-framework-main.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Add wait for start jobs"
[src/app-framework-main.git]
/
src
/
wgtpkg-mustach.c
diff --git
a/src/wgtpkg-mustach.c
b/src/wgtpkg-mustach.c
index
45d94e8
..
5e4348a
100644
(file)
--- a/
src/wgtpkg-mustach.c
+++ b/
src/wgtpkg-mustach.c
@@
-31,7
+31,7
@@
#define MAX_DEPTH 256
/*
#define MAX_DEPTH 256
/*
- * exploration state when instan
c
iating mustache
+ * exploration state when instan
t
iating mustache
*/
struct expl {
struct json_object *root;
*/
struct expl {
struct json_object *root;
@@
-62,8
+62,8
@@
static char *keyval(char *read, int isptr)
} else {
if (c == '\\') {
switch (read[1]) {
} else {
if (c == '\\') {
switch (read[1]) {
- case '\\': *write++ = c;
- case '=': c = *++read;
+ case '\\': *write++ = c;
/*@fallthrough@*/
+ case '=': c = *++read;
/*@fallthrough@*/
default: break;
}
}
default: break;
}
}
@@
-92,8
+92,8
@@
static char *first(char **name, int isptr)
while (c && c != '/') {
if (c == '~') {
switch(read[1]) {
while (c && c != '/') {
if (c == '~') {
switch(read[1]) {
- case '1': c = '/';
- case '0': read++;
+ case '1': c = '/';
/*@fallthrough@*/
+ case '0': read++;
/*@fallthrough@*/
default: break;
}
}
default: break;
}
}