Fix warnings: deprecated use of label at end of compound statement
This commit is contained in:
parent
daefef7cae
commit
55be04ab11
@ -3133,6 +3133,7 @@ ng_free_item(item_p item)
|
||||
_NGI_ARG1(item) = NULL;
|
||||
_NGI_ARG2(item) = 0;
|
||||
case NGQF_UNDEF:
|
||||
break;
|
||||
}
|
||||
/* If we still have a node or hook referenced... */
|
||||
_NGI_CLR_NODE(item);
|
||||
|
@ -1201,7 +1201,6 @@ ng_parse_composite(const struct ng_parse_type *type, const char *s,
|
||||
}
|
||||
nextIndex = index + 1;
|
||||
*off += len + len2;
|
||||
gotIndex:
|
||||
} else { /* a structure field */
|
||||
const struct ng_parse_struct_field *field = NULL;
|
||||
const struct ng_parse_struct_info *si = type->info;
|
||||
@ -1230,6 +1229,7 @@ gotIndex:
|
||||
}
|
||||
*off += len;
|
||||
}
|
||||
gotIndex:
|
||||
|
||||
/* Check array index */
|
||||
if (index >= num) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user