devilhorns pushed a commit to branch master.

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

commit 63a9bae282cc263a5e7c69b465a57ac23268b73a
Author: Chris Michael <[email protected]>
Date:   Tue Feb 7 13:17:46 2017 -0500

    fix potentially uninitialized variables
    
    Signed-off-by: Chris Michael <[email protected]>
---
 src/bin/e_comp_wl.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c
index d8c3fe2..eba0c4f 100644
--- a/src/bin/e_comp_wl.c
+++ b/src/bin/e_comp_wl.c
@@ -797,7 +797,7 @@ _e_comp_wl_evas_cb_unmaximize_pre(void *data, Evas_Object 
*obj EINA_UNUSED, void
      ec->comp_data->maximizing = 1;
    else if (!e_client_has_xwindow(ec))
      {
-        int w, h, ew, eh, *ecw, *ech;
+        int w, h, ew = 0, eh = 0, *ecw, *ech;
         unsigned int pmax = ec->maximized;
         ec->comp_data->unmax = *max;
         if (ec->internal)
@@ -832,7 +832,7 @@ _e_comp_wl_evas_cb_maximize_pre(void *data, Evas_Object 
*obj EINA_UNUSED, void *
      ec->comp_data->maximizing = 1;
    else if (!e_client_has_xwindow(ec))
      {
-        int w, h, ew, eh, *ecw, *ech;
+        int w, h, ew = 0, eh = 0, *ecw, *ech;
         unsigned int pmax = ec->maximized;
         ec->comp_data->max = *max;
         if (ec->internal)

-- 


Reply via email to