diff --git a/client/renderers/EGL/egl.c b/client/renderers/EGL/egl.c index cfe9443e..0a82f985 100644 --- a/client/renderers/EGL/egl.c +++ b/client/renderers/EGL/egl.c @@ -303,7 +303,7 @@ static void egl_calc_mouse_size(struct Inst * this) if (!this->formatValid) return; - int w = 0, h = 0; + int w, h; switch(this->format.rotate) { diff --git a/client/src/core.c b/client/src/core.c index 04e39cbd..89491f65 100644 --- a/client/src/core.c +++ b/client/src/core.c @@ -166,8 +166,8 @@ void core_updatePositionInfo(void) if (!g_state.haveSrcSize) goto done; - float srcW = 0.0f; - float srcH = 0.0f; + float srcW; + float srcH; switch(g_params.winRotate) {