Fix warnings: deprecated use of label at end of compound statement

This commit is contained in:
Peter Wemm 2002-05-24 07:02:04 +00:00
parent daefef7cae
commit 55be04ab11
2 changed files with 2 additions and 1 deletions

View File

@ -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);

View File

@ -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) {