projects
/
platform
/
upstream
/
weston.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff449f5
)
hmi-controller: remove dead assignments in add_launchers
author
Emre Ucan
<eucan@de.adit-jv.com>
Tue, 20 Mar 2018 14:28:23 +0000
(15:28 +0100)
committer
Pekka Paalanen
<pekka.paalanen@collabora.co.uk>
Wed, 28 Mar 2018 10:09:50 +0000
(13:09 +0300)
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>
ivi-shell/hmi-controller.c
patch
|
blob
|
history
diff --git
a/ivi-shell/hmi-controller.c
b/ivi-shell/hmi-controller.c
index b13936f5944f662a970fc27833a299e49a1dc524..0e44df88b5db87d3592ae894939572d7915f71fc 100644
(file)
--- a/
ivi-shell/hmi-controller.c
+++ b/
ivi-shell/hmi-controller.c
@@
-1184,10
+1184,6
@@
ivi_hmi_controller_add_launchers(struct hmi_controller *hmi_ctrl,
compare_launcher_info);
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,
sizeof(*add_surface_id));