forked from enlightenment/enlightenment
Don't test for null on non pointer variable
SVN revision: 43543
This commit is contained in:
parent
0058ebbc82
commit
3d3c4b41d5
|
@ -221,7 +221,7 @@ e_fm2_hal_volume_add(E_Volume *v)
|
|||
else
|
||||
snprintf(label, sizeof(label), _("Unknown Volume"));
|
||||
|
||||
if ((label) && (label[0]))
|
||||
if (label[0])
|
||||
{
|
||||
if (v->label) free(v->label);
|
||||
v->label = strdup(label);
|
||||
|
|
Loading…
Reference in New Issue