Fix -Wparentheses in track_cleaner.cpp

Changes "wxBusyCursor( dummy );" to just "wxBusyCursor dummy;"

Fixes warning: ../pcbnew/tracks_cleaner.cpp:155:17:
warning: unnecessary parentheses in declaration of ‘dummy’ [-Wparentheses]
     wxBusyCursor( dummy )
This commit is contained in:
John Beard 2018-06-12 10:49:08 +01:00 committed by Maciej Suminski
parent 9605dd8e1d
commit 16411c8c1e
1 changed files with 1 additions and 1 deletions

View File

@ -152,7 +152,7 @@ void PCB_EDIT_FRAME::Clean_Pcb()
// Old model has to be refreshed, GAL normally does not keep updating it
Compile_Ratsnest( NULL, false );
wxBusyCursor( dummy );
wxBusyCursor dummy;
BOARD_COMMIT commit( this );
TRACKS_CLEANER cleaner( GetBoard(), commit );