From 2a8f0f5d407a989a7d46010c05621ed6535d662b Mon Sep 17 00:00:00 2001 From: dickelbeck Date: Sat, 22 Dec 2007 07:13:27 +0000 Subject: [PATCH] fixed compiler warning --- pcbnew/clean.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pcbnew/clean.cpp b/pcbnew/clean.cpp index 8cbadd0fea..5de9322e84 100644 --- a/pcbnew/clean.cpp +++ b/pcbnew/clean.cpp @@ -41,7 +41,7 @@ static bool s_ConnectToPads = false; #ifdef CONN2PAD_ENBL static void ConnectDanglingEndToPad( WinEDA_PcbFrame* frame, wxDC* DC ); static void ConnectDanglingEndToVia( BOARD* pcb ); -static void Gen_Raccord_Track( WinEDA_PcbFrame* frame, wxDC* DC ); +//static void Gen_Raccord_Track( WinEDA_PcbFrame* frame, wxDC* DC ); #endif @@ -806,7 +806,7 @@ int Netliste_Controle_piste( WinEDA_PcbFrame* frame, wxDC* DC, int affiche ) } -#ifdef CONN2PAD_ENBL +#if 0 /***************************************************************/ static void Gen_Raccord_Track( WinEDA_PcbFrame* frame, wxDC* DC ) @@ -955,6 +955,10 @@ static void Gen_Raccord_Track( WinEDA_PcbFrame* frame, wxDC* DC ) } } +#endif + + +#if defined(CONN2PAD_ENBL) /** * Function ConnectDanglingEndToPad