devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=763b210f4ef2b9bfb74e9f88a7aa083b76e2e674

commit 763b210f4ef2b9bfb74e9f88a7aa083b76e2e674
Author: Chris Michael <[email protected]>
Date:   Tue Sep 23 19:18:58 2014 -0400

    eeze: Fix missing break in switch(s)
    
    Summary: Fixes Coverity CID1240226, CID1240225
    
    @fix
    
    Signed-off-by: Chris Michael <[email protected]>
---
 src/lib/eeze/eeze_udev_watch.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/lib/eeze/eeze_udev_watch.c b/src/lib/eeze/eeze_udev_watch.c
index 0d4ad29..ec26b91 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;
      }

-- 


Reply via email to