Quiet Coverity.

This commit is contained in:
Jeff Young
2021-08-04 13:55:42 +01:00
parent 46bdce2747
commit ae99e627bd
2 changed files with 14 additions and 7 deletions
+4
View File
@@ -216,7 +216,11 @@ COLOR_SETTINGS* SETTINGS_MANAGER::loadColorSettingsByName( const wxString& aName
auto cs = static_cast<COLOR_SETTINGS*>( RegisterSettings( new COLOR_SETTINGS( aName ) ) );
if( cs->GetFilename() != aName.ToStdString() )
{
// wxLogTrace is actually a macro so these braces are needed to keep Coverity from
// worrying about dangline else clauses....
wxLogTrace( traceSettings, "Warning: stored filename is actually %s, ", cs->GetFilename() );
}
m_color_settings[aName] = cs;