[client] all: remove needless initalization

This commit is contained in:
Quantum 2021-08-13 19:52:30 -04:00 committed by Geoffrey McRae
parent 579f998519
commit 16adbab5d4
2 changed files with 3 additions and 3 deletions

View File

@ -303,7 +303,7 @@ static void egl_calc_mouse_size(struct Inst * this)
if (!this->formatValid) if (!this->formatValid)
return; return;
int w = 0, h = 0; int w, h;
switch(this->format.rotate) switch(this->format.rotate)
{ {

View File

@ -166,8 +166,8 @@ void core_updatePositionInfo(void)
if (!g_state.haveSrcSize) if (!g_state.haveSrcSize)
goto done; goto done;
float srcW = 0.0f; float srcW;
float srcH = 0.0f; float srcH;
switch(g_params.winRotate) switch(g_params.winRotate)
{ {