forked from Mirrors/openclonk
Fix possible use of uninitialized variables
For example, creating a C4WindowSDL and deleting it without calling ::Init() on it would lead to use of uninitialized variables.console-destruction
parent
32f5b1cb25
commit
732fff3029
|
@ -40,7 +40,10 @@
|
|||
/* C4Window */
|
||||
|
||||
C4Window::C4Window ():
|
||||
Active(false), pSurface(0)
|
||||
Active(false), pSurface(0), eKind(W_Fullscreen), window(nullptr)
|
||||
#ifdef WITH_QT_EDITOR
|
||||
, glwidget(nullptr)
|
||||
#endif
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue