pointers which were reported by clang builg.
https://build.enlightenment.org/job/nightly_elm_clang_x86_64/lastSuccessfulBuild/artifact/scan-build/build/2014-01-05-1/report-XZo1hW.html#EndPath
https://build.enlightenment.org/job/nightly_elm_clang_x86_64/lastSuccessfulBuild/artifact/scan-build/build/2014-01-05-1/report-isAlRt.html#EndPath
https://build.enlightenment.org/job/nightly_elm_clang_x86_64/lastSuccessfulBuild/artifact/scan-build/build/2014-01-05-1/report-8Ascv8.html#EndPath
https://build.enlightenment.org/job/nightly_elm_clang_x86_64/lastSuccessfulBuild/artifact/scan-build/build/2014-01-05-1/report-gBkVuE.html#EndPath
items = eina_list_append(items, sd->box);
}
- if (int_ret)
+ if (int_ret && ret)
*ret = elm_widget_focus_list_next_get
(obj, items, eina_list_data_get, dir, next);
}
done = EINA_TRUE;
EINA_LIST_FOREACH(itb->items, l, it)
{
- if (it->realized) *ret = eina_list_append(*ret, it);
+ if (it->realized && ret) *ret = eina_list_append(*ret, it);
}
}
else
EINA_LIST_FOREACH(sd->subs, l, sub_d)
{
- if (sub_d->type == SWALLOW)
+ if ((sub_d->type == SWALLOW) && ret)
*ret = eina_list_append(*ret, sub_d->obj);
}
}
_sizing_eval(obj);
sd->item_count++;
- *ret = (Elm_Object_Item *)it;
+ if (ret) *ret = (Elm_Object_Item *)it;
}
EAPI Elm_Object_Item *