hmi-controller: remove dead assignments in add_launchers
assigned values of x, y, ret and layout_surface are never read. (Found by clang source code analyzer) Signed-off-by: Emre Ucan <eucan@de.adit-jv.com> Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
This commit is contained in:
committed by
Pekka Paalanen
parent
ff449f5ab1
commit
16ac6a0f9d
@@ -1184,10 +1184,6 @@ ivi_hmi_controller_add_launchers(struct hmi_controller *hmi_ctrl,
|
|||||||
compare_launcher_info);
|
compare_launcher_info);
|
||||||
|
|
||||||
wl_array_for_each(data, &launchers) {
|
wl_array_for_each(data, &launchers) {
|
||||||
x = 0;
|
|
||||||
y = 0;
|
|
||||||
ret = 0;
|
|
||||||
layout_surface = NULL;
|
|
||||||
add_surface_id = wl_array_add(&hmi_ctrl->ui_widgets,
|
add_surface_id = wl_array_add(&hmi_ctrl->ui_widgets,
|
||||||
sizeof(*add_surface_id));
|
sizeof(*add_surface_id));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user