summaryrefslogtreecommitdiff
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
parentcbcd9c3718ead0a363fe4688aaba29735fb0e9b9 (diff)
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,
239 if ((!(test = udev_device_get_subsystem(device))) 239 if ((!(test = udev_device_get_subsystem(device)))
240 || (strcmp(test, "drm"))) 240 || (strcmp(test, "drm")))
241 goto error; 241 goto error;
242 break;
242 243
243 case EEZE_UDEV_TYPE_BACKLIGHT: 244 case EEZE_UDEV_TYPE_BACKLIGHT:
244 if ((!(test = udev_device_get_subsystem(device))) 245 if ((!(test = udev_device_get_subsystem(device)))
245 || (strcmp(test, "backlight"))) 246 || (strcmp(test, "backlight")))
246 goto error; 247 goto error;
248 break;
247 249
248 case EEZE_UDEV_TYPE_LEDS: 250 case EEZE_UDEV_TYPE_LEDS:
249 if ((!(test = udev_device_get_subsystem(device))) 251 if ((!(test = udev_device_get_subsystem(device)))
250 || (strcmp(test, "leds"))) 252 || (strcmp(test, "leds")))
251 goto error; 253 goto error;
252
253 break; 254 break;
255
254 default: 256 default:
255 break; 257 break;
256 } 258 }