From a155a5c78030f1755c47887b35e5b08923e87c36 Mon Sep 17 00:00:00 2001 From: Marvin Schmidt Date: Thu, 2 Nov 2017 21:36:52 +0100 Subject: [PATCH] Remove some dead code --- eeschema/sch_item_struct.cpp | 7 ------- eeschema/sch_item_struct.h | 4 ---- 2 files changed, 11 deletions(-) diff --git a/eeschema/sch_item_struct.cpp b/eeschema/sch_item_struct.cpp index 6e4f98c8da..873a8921a4 100644 --- a/eeschema/sch_item_struct.cpp +++ b/eeschema/sch_item_struct.cpp @@ -40,13 +40,6 @@ const wxString traceFindItem = wxT( "KICAD_TRACE_FIND_ITEM" ); - -bool sort_schematic_items( const SCH_ITEM* aItem1, const SCH_ITEM* aItem2 ) -{ - return *aItem1 < *aItem2; -} - - /* Constructor and destructor for SCH_ITEM */ /* They are not inline because this creates problems with gcc at linking time * in debug mode diff --git a/eeschema/sch_item_struct.h b/eeschema/sch_item_struct.h index a532561e80..48409040ed 100644 --- a/eeschema/sch_item_struct.h +++ b/eeschema/sch_item_struct.h @@ -427,8 +427,4 @@ private: virtual bool doIsConnected( const wxPoint& aPosition ) const { return false; } }; - -extern bool sort_schematic_items( const SCH_ITEM* aItem1, const SCH_ITEM* aItem2 ); - - #endif /* SCH_ITEM_STRUCT_H */