eeze: Fix missing break in switch(s)
authorChris Michael <cp.michael@samsung.com>
Tue, 23 Sep 2014 23:18:58 +0000 (19:18 -0400)
committerChris Michael <cp.michael@samsung.com>
Tue, 23 Sep 2014 23:19:47 +0000 (19:19 -0400)
Summary: Fixes Coverity CID1240226, CID1240225

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
src/lib/eeze/eeze_udev_watch.c

index 0d4ad29b0020659a69a6bd55d43e73ba4bb6fbe7..ec26b9156edf958597fe891f9644c471b47daf18 100644 (file)
@@ -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;
      }