From 63a9bae282cc263a5e7c69b465a57ac23268b73a Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Tue, 7 Feb 2017 13:17:46 -0500 Subject: [PATCH] fix potentially uninitialized variables Signed-off-by: Chris Michael --- 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 d8c3fe268..eba0c4f12 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)