devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=4f59146512b109215279dca7c43ba6815ba7a58f

commit 4f59146512b109215279dca7c43ba6815ba7a58f
Author: Chris Michael <[email protected]>
Date:   Fri Oct 3 13:35:34 2014 -0400

    fix compiler warnings when building for wayland-only
    
    Signed-off-by: Chris Michael <[email protected]>
---
 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 9b2d23f..79f6dc5 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);

-- 


Reply via email to