From 8c33537c4a1450fdc31c5262002bbafdf69eb240 Mon Sep 17 00:00:00 2001 From: Christopher Michael Date: Thu, 23 Feb 2012 18:32:36 +0000 Subject: [PATCH] Ecore_X(cb): Remove unused variable. Fix uninitialzed variable warning. SVN revision: 68362 --- legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_randr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_randr.c b/legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_randr.c index 6287279072..d36b880fae 100644 --- a/legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_randr.c +++ b/legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_randr.c @@ -1589,9 +1589,9 @@ ecore_x_randr_window_crtcs_get(Ecore_X_Window window, #ifdef ECORE_XCB_RANDR Ecore_X_Window root; Eina_Rectangle w_geo, c_geo; - Ecore_X_Randr_Crtc *crtcs, *ret; + Ecore_X_Randr_Crtc *crtcs, *ret = NULL; Ecore_X_Randr_Mode mode; - int ncrtcs, noutputs, i, nret = 0; + int ncrtcs, i, nret = 0; xcb_translate_coordinates_cookie_t cookie; xcb_translate_coordinates_reply_t *trans; #endif