Fix a few Coverity warnings.

It also fix:

Fixes #4082
https://gitlab.com/kicad/code/kicad/issues/4082
This commit is contained in:
jean-pierre charras
2020-03-29 18:42:24 +02:00
parent 259d7a47d4
commit 9d2712a824
10 changed files with 43 additions and 19 deletions
+1
View File
@@ -63,6 +63,7 @@ PLOTTER::PLOTTER( )
m_mirrorIsHorizontal = true;
m_yaxisReversed = false;
outputFile = 0;
m_colors = nullptr;
colorMode = false; // Starts as a BW plot
negativeMode = false;
// Temporary init to avoid not initialized vars, will be set later