--- eeschema/class_libentry.cpp | 8 -------- pcbnew/eagle_plugin.cpp | 28 ---------------------------- pcbnew/legacy_plugin.cpp | 17 ----------------- 3 files changed, 53 deletions(-)
diff --git a/eeschema/class_libentry.cpp b/eeschema/class_libentry.cpp index 9e7a1b244..b87fb2345 100644 --- a/eeschema/class_libentry.cpp +++ b/eeschema/class_libentry.cpp @@ -733,14 +733,6 @@ bool LIB_PART::Save( OUTPUTFORMATTER& aFormatter ) // Save data aFormatter.Print( 0, "DEF" ); -#if 0 && defined(DEBUG) - if( value.GetText() == wxT( "R" ) ) - { - int breakhere = 1; - (void) breakhere; - } -#endif - if( value.IsVisible() ) { aFormatter.Print( 0, " %s", TO_UTF8( value.GetText() ) ); diff --git a/pcbnew/eagle_plugin.cpp b/pcbnew/eagle_plugin.cpp index 3913f29a2..635f4f2cd 100644 --- a/pcbnew/eagle_plugin.cpp +++ b/pcbnew/eagle_plugin.cpp @@ -1471,13 +1471,6 @@ void EAGLE_PLUGIN::loadPlain( CPTREE& aGraphics ) } else if( gr->first == "text" ) { -#if defined(DEBUG) - if( gr->second.data() == "ATMEGA328" ) - { - int breakhere = 1; - (void) breakhere; - } -#endif m_xpath->push( "text" ); ETEXT t( gr->second ); @@ -1729,13 +1722,6 @@ void EAGLE_PLUGIN::loadLibrary( CPTREE& aLib, const string* aLibName ) ReplaceIllegalFileNameChars( &pack_name ); -#if 0 && defined(DEBUG) - if( pack_name == "TO220H" ) - { - int breakhere = 1; - (void) breakhere; - } -#endif m_xpath->Value( pack_name.c_str() ); string key = aLibName ? makeKey( *aLibName, pack_name ) : pack_name; @@ -1820,13 +1806,6 @@ void EAGLE_PLUGIN::loadElements( CPTREE& aElements ) THROW_IO_ERROR( emsg ); } -#if defined(DEBUG) - if( e.name == "ARM_C8" ) - { - int breakhere = 1; - (void) breakhere; - } -#endif // copy constructor to clone the template MODULE* m = new MODULE( *mi->second ); m_board->Add( m, ADD_APPEND ); @@ -2625,13 +2604,6 @@ void EAGLE_PLUGIN::loadSignals( CPTREE& aSignals ) m_xpath->Value( nname.c_str() ); -#if defined(DEBUG) - if( netName == wxT( "N$8" ) ) - { - int breakhere = 1; - (void) breakhere; - } -#endif // (contactref | polygon | wire | via)* for( CITER it = net->second.begin(); it != net->second.end(); ++it ) { diff --git a/pcbnew/legacy_plugin.cpp b/pcbnew/legacy_plugin.cpp index 21026b155..147235287 100644 --- a/pcbnew/legacy_plugin.cpp +++ b/pcbnew/legacy_plugin.cpp @@ -1801,14 +1801,6 @@ void LEGACY_PLUGIN::loadMODULE_TEXT( TEXTE_MODULE* aText ) // as far forward as needed until the first double quote. txt_end = data + ReadDelimitedText( &m_field, data ); -#if 1 && defined(DEBUG) - if( m_field == wxT( "ARM_C8" ) ) - { - int breakhere = 1; - (void) breakhere; - } -#endif - aText->SetText( m_field ); // after switching to strtok, there's no easy coming back because of the @@ -3324,15 +3316,6 @@ void LP_CACHE::LoadModules( LINE_READER* aReader ) // set the footprint name first thing, so exceptions can use name. module->SetFPID( LIB_ID( footprintName ) ); -#if 0 && defined( DEBUG ) - printf( "%s\n", footprintName.c_str() ); - if( footprintName == "QFN40" ) - { - int breakhere = 1; - (void) breakhere; - } -#endif - m_owner->loadMODULE( module.get() ); MODULE* m = module.release(); // exceptions after this are not expected.
_______________________________________________ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp