diff --git a/libgphoto2/pattrec.c b/libgphoto2/pattrec.c index c35e3c811..0ef936d88 100644 --- a/libgphoto2/pattrec.c +++ b/libgphoto2/pattrec.c @@ -142,6 +142,7 @@ patt_rec_avg (int w, float *fgfx, int x, int y) case 15: default: /* shouldn't happen */ + break; } @@ -205,6 +206,7 @@ pattrec (int w, int h, unsigned char *igfx) case 0: /* GREEN 1 */ case 3: /* GREEN 2 */ + break; } }