zmike pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=9e8a565bb65fbf087d390b1fcf23a91052103208

commit 9e8a565bb65fbf087d390b1fcf23a91052103208
Author: Mike Blumenkrantz <zm...@samsung.com>
Date:   Tue Mar 5 07:20:57 2019 -0500

    efl_ui_win: fix compile when HAVE_ELEMENTARY_X is not defined
    
    Reviewers: vtorri
    
    Reviewed By: vtorri
    
    Subscribers: cedric, #reviewers, #committers
    
    Tags: #efl
    
    Differential Revision: https://phab.enlightenment.org/D8101
---
 src/lib/elementary/efl_ui_win.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/lib/elementary/efl_ui_win.c b/src/lib/elementary/efl_ui_win.c
index 3c705531e3..c002768c85 100644
--- a/src/lib/elementary/efl_ui_win.c
+++ b/src/lib/elementary/efl_ui_win.c
@@ -8864,6 +8864,7 @@ elm_win_keygrab_set(Elm_Win *obj, const char *key,
          ret = ecore_x_window_keygrab_set(sd->x.xwin, key, 0, 0, 0, 
x_grab_mode);
      }
 #else
+   (void)obj;
    (void)key;
    (void)grab_mode;
 #endif
@@ -8883,7 +8884,7 @@ elm_win_keygrab_unset(Elm_Win *obj, const char *key,
    if (sd->x.xwin)
      ret = ecore_x_window_keygrab_unset(sd->x.xwin, key, 0, 0);
 #else
-   (void)sd;
+   (void)obj;
    (void)key;
 #endif
    return ret;

-- 


Reply via email to