forked from enlightenment/efl
eeze disk - remove uneeded extra check for test var
test for non null already done above, so test must obviously be null here so no need to check. analysers dont like this but it's not a bug. make them happy thought found by PVS studio
This commit is contained in:
parent
157caee2c0
commit
d532f28284
|
@ -52,7 +52,7 @@ _eeze_disk_type_find(Eeze_Disk *disk)
|
|||
if (!strcmp(test, "usb")) return EEZE_DISK_TYPE_USB;
|
||||
return EEZE_DISK_TYPE_UNKNOWN; /* FIXME */
|
||||
}
|
||||
if ((!test) && (!filesystem))
|
||||
if (!filesystem)
|
||||
test = _walk_children_get_attr(disk->syspath, "ID_BUS", "block", EINA_TRUE);
|
||||
if (!test)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue