diff options
author | Emre Ucan <eucan@de.adit-jv.com> | 2015-05-21 11:24:46 +0200 |
---|---|---|
committer | Nobuhiko Tanibata <nobuhiko_tanibata@xddp.denso.co.jp> | 2015-06-15 16:23:33 +0900 |
commit | da33f7f9fa454204c1548074264c9eb546196e0b (patch) | |
tree | 2b1301dd1742c0e02f8c169553bc2aa480fb124e /weston-ivi-shell | |
parent | e77f1289c3c28f7fcdcfbbdc950276ec134d679e (diff) | |
download | wayland-ivi-extension-da33f7f9fa454204c1548074264c9eb546196e0b.tar.gz |
ivi-controller: fix compiler warnings -Wunused-variable
Signed-off-by: Emre Ucan <eucan@de.adit-jv.com>
Diffstat (limited to 'weston-ivi-shell')
-rw-r--r-- | weston-ivi-shell/src/ivi-controller-impl.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/weston-ivi-shell/src/ivi-controller-impl.c b/weston-ivi-shell/src/ivi-controller-impl.c index 2a9fc41..cee6d5f 100644 --- a/weston-ivi-shell/src/ivi-controller-impl.c +++ b/weston-ivi-shell/src/ivi-controller-impl.c @@ -168,9 +168,6 @@ destroy_ivicontroller_layer(struct wl_resource *resource) struct ivishell *shell = ivilayer->shell; struct ivicontroller_layer *ctrllayer = NULL; struct ivicontroller_layer *next = NULL; - uint32_t id_layer = 0; - - id_layer = ivi_extension_get_id_of_layer(shell, ivilayer->layout_layer); wl_list_for_each_safe(ctrllayer, next, &shell->list_controller_layer, link) { @@ -327,7 +324,6 @@ send_surface_add_event(struct ivisurface *ivisurf, struct ivishell *shell = ivisurf->shell; uint32_t id_layout_layer = 0; struct wl_client *surface_client = wl_resource_get_client(resource); - int found = 0; ans = ivi_extension_get_layers_under_surface(shell, ivisurf->layout_surface, &length, &pArray); @@ -764,7 +760,6 @@ controller_surface_screenshot(struct wl_client *client, int32_t col = 0; int32_t offset = 0; int32_t image_offset = 0; - static const size_t bytespp = 4; /* PIXMAN_a8b8g8r8 */ result = ivi_extension_surface_get_size( shell, ivisurf->layout_surface, &width, &height, &stride); @@ -1094,8 +1089,6 @@ controller_screen_screenshot(struct wl_client *client, (void)client; struct weston_output *output = NULL; - cairo_surface_t *cairo_surf = NULL; - int32_t i = 0; int32_t width = 0; int32_t height = 0; int32_t stride = 0; @@ -1250,10 +1243,6 @@ controller_layer_create(struct wl_client *client, static void surface_event_content(struct ivi_layout_surface *layout_surface, int32_t content, void *userdata) { - struct ivishell *shell = userdata; - struct ivicontroller_surface *ctrlsurf = NULL; - uint32_t id_surface = 0; - if (content == 0) { surface_event_remove(layout_surface, userdata); } |