diff --git a/pcbnew/connectivity.cpp b/pcbnew/connectivity.cpp index 48b687e641..3b7c9d2be7 100644 --- a/pcbnew/connectivity.cpp +++ b/pcbnew/connectivity.cpp @@ -427,13 +427,6 @@ const } -unsigned int CONNECTIVITY_DATA::GetLinksCount() const -{ - return 0; - assert( false ); -} - - unsigned int CONNECTIVITY_DATA::GetNodeCount( int aNet ) const { int sum = 0; diff --git a/pcbnew/connectivity.h b/pcbnew/connectivity.h index 0b5b86a653..9eb1df14e8 100644 --- a/pcbnew/connectivity.h +++ b/pcbnew/connectivity.h @@ -155,8 +155,6 @@ public: */ unsigned int GetUnconnectedCount() const; - unsigned int GetLinksCount() const; - unsigned int GetNodeCount( int aNet = -1 ) const; unsigned int GetPadCount( int aNet = -1 ) const; diff --git a/pcbnew/kicad_plugin.cpp b/pcbnew/kicad_plugin.cpp index c763168099..1c41d467e2 100644 --- a/pcbnew/kicad_plugin.cpp +++ b/pcbnew/kicad_plugin.cpp @@ -534,7 +534,6 @@ void PCB_IO::format( BOARD* aBoard, int aNestLevel ) const m_out->Print( 0, "\n" ); m_out->Print( aNestLevel, "(general\n" ); - m_out->Print( aNestLevel+1, "(links %d)\n", aBoard->GetConnectivity()->GetLinksCount() ); m_out->Print( aNestLevel+1, "(no_connects %d)\n", aBoard->GetConnectivity()->GetUnconnectedCount() ); // Write Bounding box info