diff --git a/eeschema/sch_base_frame.cpp b/eeschema/sch_base_frame.cpp index 46ed45fde7..dd974f9854 100644 --- a/eeschema/sch_base_frame.cpp +++ b/eeschema/sch_base_frame.cpp @@ -271,8 +271,6 @@ bool SCH_BASE_FRAME::saveSymbolLibTables( bool aGlobal, bool aProject ) void SCH_BASE_FRAME::RedrawScreen( const wxPoint& aCenterPoint, bool aWarpPointer ) { - KIGFX::GAL* gal = GetCanvas()->GetGAL(); - GetCanvas()->GetView()->SetCenter( aCenterPoint ); if( aWarpPointer )