Fix broken build when MSVC SDL checks is enabled

Fix broken build when MSVC SDL checks is enabled
Mostly initialize local variables.