edje: external is already used directly before, so checking it is unnecessary.

CID 1191908.
This commit is contained in:
Cedric BAIL 2014-03-13 10:29:27 +09:00
parent a4d2e42042
commit 48aca12d22
1 changed files with 1 additions and 4 deletions

View File

@ -4365,10 +4365,7 @@ edje_edit_state_external_param_set(Evas_Object *obj, const char *part, const cha
if (!found)
{
if (external)
external->external_params = eina_list_append(external->external_params, p);
else
free(p);
external->external_params = eina_list_append(external->external_params, p);
}
if (rp->typedata.swallow && rp->param1.external_params)