Fix Coverity issue #332157.

This commit is contained in:
Wayne Stambaugh 2021-07-13 17:10:13 -04:00
parent c3bf51c94b
commit 346b876eb7
1 changed files with 5 additions and 0 deletions

View File

@ -373,6 +373,11 @@ void PROJECT_LOCAL_SETTINGS::SaveFileState( const wxString& aFileName,
fileState.fileName = aFileName;
fileState.open = false;
fileState.window.maximized = false;
fileState.window.size_x = -1;
fileState.window.size_y = -1;
fileState.window.pos_x = -1;
fileState.window.pos_y = -1;
fileState.window.display = 0;
m_files.push_back( fileState );