dtmail: resolve coverity warnings related to uninitialised members in C++ classes

This commit is contained in:
Peter Howkins
2018-04-20 02:36:24 +01:00
parent 3464e80165
commit f905d25392
31 changed files with 199 additions and 2 deletions

View File

@@ -107,6 +107,10 @@ MainWindow::MainWindow( char *name, Boolean allowResize ) : UIComponent ( name )
_window_invert = NULL;
_icon = 0;
_allow_resize = allowResize;
_last_state = 0;
_flash_owin = 0;
_flash_iwin = 0;
memset(&_window_attributes, 0, sizeof(XWindowAttributes));
assert ( theApplication != NULL ); // Application object must exist
// before any MainWindow object