From 4f59146512b109215279dca7c43ba6815ba7a58f Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Fri, 3 Oct 2014 13:35:34 -0400 Subject: [PATCH] fix compiler warnings when building for wayland-only Signed-off-by: Chris Michael --- src/bin/e_dnd.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/bin/e_dnd.c b/src/bin/e_dnd.c index 9b2d23f91..79f6dc56c 100644 --- a/src/bin/e_dnd.c +++ b/src/bin/e_dnd.c @@ -438,6 +438,9 @@ e_drop_xds_update(Eina_Bool enable, const char *value) } else ecore_x_window_prop_property_del(xwin, ECORE_X_ATOM_XDND_DIRECTSAVE0); +#else + (void)enable; + (void)value; #endif } @@ -979,7 +982,7 @@ _e_drag_end(int x, int y) int dx, dy; Ecore_X_Window win; E_Drop_Handler *h; - int dropped; + int dropped = 0; if (!_drag_current) return; win = e_comp_top_window_at_xy_get(e_comp_get(_drag_current), x, y);