mirror of
https://github.com/glfw/glfw.git
synced 2025-10-04 13:46:37 +00:00
Fix uninitialized variable use
Pointed out by compiling with -Og -g3 (gcc) Closes #1143
This commit is contained in:
parent
68809869f9
commit
403c628e62
@ -131,7 +131,7 @@ static void pointerHandleAxis(void* data,
|
||||
{
|
||||
_GLFWwindow* window = _glfw.wl.pointerFocus;
|
||||
double scrollFactor;
|
||||
double x, y;
|
||||
double x = 0.0, y = 0.0;
|
||||
|
||||
if (!window)
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user