seoz pushed a commit to branch master.

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

commit a5c98947aea32671269d925733dd5328db8c6760
Author: Daniel Juyung Seo <[email protected]>
Date:   Wed Nov 27 21:43:06 2013 +0900

    ecore ecore_x_e: initialize local variable to avoid having wrong value.
    
    Thanks to devilhorns!
---
 src/lib/ecore_x/xlib/ecore_x_e.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/ecore_x/xlib/ecore_x_e.c b/src/lib/ecore_x/xlib/ecore_x_e.c
index 87e8d2f..64c9944 100644
--- a/src/lib/ecore_x/xlib/ecore_x_e.c
+++ b/src/lib/ecore_x/xlib/ecore_x_e.c
@@ -54,7 +54,7 @@ ecore_x_e_virtual_keyboard_set(Ecore_X_Window win,
 EAPI Eina_Bool
 ecore_x_e_virtual_keyboard_get(Ecore_X_Window win)
 {
-   unsigned int val;
+   unsigned int val = 0;
 
    LOGFN(__FILE__, __LINE__, __FUNCTION__);
    if (!ecore_x_window_prop_card32_get(win, ECORE_X_ATOM_E_VIRTUAL_KEYBOARD,

-- 


Reply via email to