mirror of
https://github.com/minetest/minetest.git
synced 2025-03-06 20:48:40 +01:00
Fix variable use-without-initialization error in MSVC debug build
This commit is contained in:
parent
02f40e5b0d
commit
682b789dd5
1 changed files with 1 additions and 0 deletions
|
@ -709,6 +709,7 @@ bool CIrrDeviceSDL::run()
|
|||
|
||||
while (!Close && wrap_PollEvent(&SDL_event)) {
|
||||
// os::Printer::log("event: ", core::stringc((int)SDL_event.type).c_str(), ELL_INFORMATION); // just for debugging
|
||||
memset(&irrevent, 0, sizeof(irrevent));
|
||||
|
||||
switch (SDL_event.type) {
|
||||
case SDL_MOUSEMOTION: {
|
||||
|
|
Loading…
Add table
Reference in a new issue