[client] all: fix more maybe-uninitialized when -O3 is in use

Closes #475
This commit is contained in:
Geoffrey McRae
2021-02-23 20:25:30 +11:00
parent 9e2cfb9106
commit 8771103abb
2 changed files with 5 additions and 3 deletions

View File

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