Fix a Coverity warning (non tested pointers, really a bug)
This commit is contained in:
parent
347e6f914d
commit
8848f7158d
|
@ -149,7 +149,8 @@ void EXCELLON_WRITER::CreateDrillandMapFilesSet( const wxString& aPlotDirectory,
|
||||||
if( aGenMap )
|
if( aGenMap )
|
||||||
CreateMapFilesSet( aPlotDirectory, aReporter );
|
CreateMapFilesSet( aPlotDirectory, aReporter );
|
||||||
|
|
||||||
aReporter->ReportTail( _( "Done." ), RPT_SEVERITY_INFO );
|
if( aReporter )
|
||||||
|
aReporter->ReportTail( _( "Done." ), RPT_SEVERITY_INFO );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -120,7 +120,8 @@ void GERBER_WRITER::CreateDrillandMapFilesSet( const wxString& aPlotDirectory, b
|
||||||
if( aGenMap )
|
if( aGenMap )
|
||||||
CreateMapFilesSet( aPlotDirectory, aReporter );
|
CreateMapFilesSet( aPlotDirectory, aReporter );
|
||||||
|
|
||||||
aReporter->ReportTail( _( "Done." ), RPT_SEVERITY_INFO );
|
if( aReporter )
|
||||||
|
aReporter->ReportTail( _( "Done." ), RPT_SEVERITY_INFO );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue