From: Felix Fietkau Date: Sat, 19 Jan 2008 22:10:15 +0000 (+0100) Subject: add missing break statements X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=476b7d029dc1808253eee2ab2a8a2ab1391f8bb5;p=uci.git add missing break statements --- diff --git a/.parse.c.swp b/.parse.c.swp new file mode 100644 index 0000000..eb777c1 Binary files /dev/null and b/.parse.c.swp differ diff --git a/parse.c b/parse.c index a0a3ec8..9dd7126 100644 --- a/parse.c +++ b/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) {