Fix return values.

SVN revision: 51298
This commit is contained in:
Christopher Michael 2010-08-18 17:05:29 +00:00
parent 6b0ceb9b09
commit ab6390cad3
1 changed files with 2 additions and 2 deletions

View File

@ -115,14 +115,14 @@ eeze_udev_find_unlisted_similar(Eina_List * list)
const char *vendor, *model, *revision, *devname, *dev; const char *vendor, *model, *revision, *devname, *dev;
if (!list) if (!list)
return; return NULL;
EINA_LIST_FOREACH(list, l, dev) EINA_LIST_FOREACH(list, l, dev)
{ {
en = udev_enumerate_new((udev)); en = udev_enumerate_new((udev));
if (!en) if (!en)
return; return NULL;
device = udev_device_new_from_syspath(udev, dev); device = udev_device_new_from_syspath(udev, dev);