mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-20 08:31:40 +00:00
Fix a Coverity warning (non tested pointers, really a bug)
This commit is contained in:
parent
347e6f914d
commit
8848f7158d
pcbnew/exporters
@ -149,7 +149,8 @@ void EXCELLON_WRITER::CreateDrillandMapFilesSet( const wxString& aPlotDirectory,
|
||||
if( aGenMap )
|
||||
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 )
|
||||
CreateMapFilesSet( aPlotDirectory, aReporter );
|
||||
|
||||
aReporter->ReportTail( _( "Done." ), RPT_SEVERITY_INFO );
|
||||
if( aReporter )
|
||||
aReporter->ReportTail( _( "Done." ), RPT_SEVERITY_INFO );
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user