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

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

index eae6ff2..ca22b80 100644 (file)
@@ -318,6 +318,8 @@ dissect(struct match *m, char *start, char *stop, sopno startst, sopno stopst)
                        while (OP(m->g->strip[es]) != O_CH)
                                es += OPND(m->g->strip[es]);
                        break;
+               default:
+                       break;
                }
                es++;