Browse Source

add missing break statements

Felix Fietkau 16 years ago
parent
commit
476b7d029d
2 changed files with 4 additions and 0 deletions
  1. BIN
      .parse.c.swp
  2. 4 0
      parse.c

BIN
.parse.c.swp


+ 4 - 0
parse.c

@@ -163,12 +163,16 @@ static char *next_arg(struct uci_context *ctx, char **str, bool required)
 	switch (**str) {
 		case '"':
 			val = parse_double_quote(str);
+			break;
 		case '\'':
 			val = parse_single_quote(str);
+			break;
 		case 0:
 			val = NULL;
+			break;
 		default:
 			val = parse_unquoted(str);
+			break;
 	}
 
 	if (required && !val) {