From 179ada1c70967a8eaa569fbfa4b1d77dd2d75910 Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Tue, 11 Jun 2013 16:27:07 +0200 Subject: [PATCH] Eeschema: fix Bug #1189893 (ps plot file opened twice) --- eeschema/plot_schematic_PS.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/eeschema/plot_schematic_PS.cpp b/eeschema/plot_schematic_PS.cpp index 66d32ac79b..86b2982ca6 100644 --- a/eeschema/plot_schematic_PS.cpp +++ b/eeschema/plot_schematic_PS.cpp @@ -132,11 +132,6 @@ bool DIALOG_PLOT_SCHEMATIC::plotOneSheetPS( const wxString& aFileName, double aScale, bool aPlotFrameRef ) { - FILE* output_file = wxFopen( aFileName, wxT( "wt" ) ); - - if( output_file == NULL ) - return false; - PS_PLOTTER* plotter = new PS_PLOTTER(); plotter->SetPageSettings( aPageInfo ); plotter->SetDefaultLineWidth( GetDefaultLineThickness() );