From: Chris Michael Date: Tue, 23 Sep 2014 23:18:58 +0000 (-0400) Subject: eeze: Fix missing break in switch(s) X-Git-Tag: v1.12.0-alpha1~223 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=763b210f4ef2b9bfb74e9f88a7aa083b76e2e674;p=platform%2Fupstream%2Fefl.git eeze: Fix missing break in switch(s) Summary: Fixes Coverity CID1240226, CID1240225 @fix Signed-off-by: Chris Michael --- diff --git a/src/lib/eeze/eeze_udev_watch.c b/src/lib/eeze/eeze_udev_watch.c index 0d4ad29b00..ec26b9156e 100644 --- a/src/lib/eeze/eeze_udev_watch.c +++ b/src/lib/eeze/eeze_udev_watch.c @@ -239,18 +239,20 @@ _get_syspath_from_watch(void *data, if ((!(test = udev_device_get_subsystem(device))) || (strcmp(test, "drm"))) goto error; + break; case EEZE_UDEV_TYPE_BACKLIGHT: if ((!(test = udev_device_get_subsystem(device))) || (strcmp(test, "backlight"))) goto error; + break; case EEZE_UDEV_TYPE_LEDS: if ((!(test = udev_device_get_subsystem(device))) || (strcmp(test, "leds"))) goto error; - break; + default: break; }