Fix compiler warning about uninitialized variables
authorChristopher <devilhorns@comcast.net>
Sun, 23 Jun 2013 11:53:53 +0000 (12:53 +0100)
committerChristopher <devilhorns@comcast.net>
Sun, 23 Jun 2013 11:53:53 +0000 (12:53 +0100)
Signed-off-by: Christopher <devilhorns@comcast.net>
src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c

index fd79f57..4a4dee6 100644 (file)
@@ -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);