aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2014-09-23 19:18:58 -0400
committerChris Michael <cp.michael@samsung.com>2014-09-23 19:19:47 -0400
commit763b210f4ef2b9bfb74e9f88a7aa083b76e2e674 (patch)
tree77d57370fba8343ba44fd04536d673120facfce7
parent+eina_strdup(), eina_streq() (diff)
downloadefl-763b210f4ef2b9bfb74e9f88a7aa083b76e2e674.tar.gz
eeze: Fix missing break in switch(s)
Summary: Fixes Coverity CID1240226, CID1240225 @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
-rw-r--r--src/lib/eeze/eeze_udev_watch.c4
1 files changed, 3 insertions, 1 deletions
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;
}