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