devilhorns pushed a commit to branch master.

commit 1633d7f3bb7ebe69e704e3a76c6b32552a59285a
Author: Christopher <[email protected]>
Date:   Sun Jun 23 12:53:53 2013 +0100

    Fix compiler warning about uninitialized variables
    
    Signed-off-by: Christopher <[email protected]>
---
 src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c 
b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
index fd79f57..4a4dee6 100644
--- a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
+++ b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c
@@ -1028,7 +1028,8 @@ _ecore_evas_wl_common_border_update(Ecore_Evas *ee)
      }
    else
      {
-        int fx, fy, fw, fh;
+        int fx = 0, fy = 0, fw = 0, fh = 0;
+
         evas_object_show(wdata->frame);
         _ecore_evas_wl_common_frame_border_size_get(wdata->frame,
                                                     &fx, &fy, &fw, &fh);

-- 

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev

Reply via email to