android: regex: fix compiler warnings
authorFerry Huberts <ferry.huberts@pelagic.nl>
Fri, 8 Jun 2012 19:06:42 +0000 (21:06 +0200)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Sat, 9 Jun 2012 09:37:10 +0000 (11:37 +0200)
../../android/regex/regcomp.c: In function 'pluscount':
../../android/regex/regcomp.c:1503: warning: switch missing default case

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
android/regex/regcomp.c

index a526e51..65b94e2 100644 (file)
@@ -1509,6 +1509,8 @@ pluscount(struct parse *p, struct re_guts *g)
                                maxnest = plusnest;
                        plusnest--;
                        break;
+               default:
+                       break;
                }
        } while (OP(s) != OEND);
        if (plusnest != 0)