eeze: Fix missing break in switch(s)

Summary: Fixes Coverity CID1240226, CID1240225

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2014-09-23 19:18:58 -04:00
parent cbcd9c3718
commit 763b210f4e
1 changed files with 3 additions and 1 deletions

View 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;
}