devilhorns pushed a commit to branch master.

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

commit e8b3be70ab14b0755b5b9740f8fa366ccaa03f23
Author: Chris Michael <[email protected]>
Date:   Thu Aug 28 12:36:02 2014 -0400

    fix dnd compiler warnings when building for wayland-only
    
    Signed-off-by: Chris Michael <[email protected]>
---
 src/bin/e_dnd.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/bin/e_dnd.c b/src/bin/e_dnd.c
index db3175c..9b2d23f 100644
--- a/src/bin/e_dnd.c
+++ b/src/bin/e_dnd.c
@@ -103,8 +103,10 @@ _e_drop_handler_active_check(E_Drop_Handler *h, const 
E_Drag *drag, Eina_Strings
 EINTERN int
 e_dnd_init(void)
 {
+#ifndef HAVE_WAYLAND_ONLY
    E_Comp *c;
    const Eina_List *l;
+#endif
 
    _type_text_uri_list = eina_stringshare_add("text/uri-list");
    _type_xds = eina_stringshare_add("XdndDirectSave0");

-- 


Reply via email to