More Coverity warnings fixes.

This commit is contained in:
jean-pierre charras
2016-12-30 14:36:23 +01:00
parent dec2d6e8cc
commit a9fbedfb12
3 changed files with 7 additions and 2 deletions
+3
View File
@@ -605,6 +605,9 @@ mpFXY::mpFXY( wxString name, int flags )
m_type = mpLAYER_PLOT;
m_scaleX = NULL;
m_scaleY = NULL;
// Avoid not initialized members:
maxDrawX = minDrawX = maxDrawY = minDrawY = 0;
}