You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 19:11:41 +00:00
Fix use uninitialized ofs variable introduced in 39701.
This commit is contained in:
@@ -211,6 +211,8 @@ void JoypadWindows::setup_joypad_object(const DIDEVICEOBJECTINSTANCE *ob, int p_
|
||||
if (slider_count < 2) {
|
||||
ofs = DIJOFS_SLIDER(slider_count);
|
||||
slider_count++;
|
||||
} else {
|
||||
return;
|
||||
}
|
||||
} else
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user