kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #31303
[PATCH 07/12] 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 6e4f98c8d..873a8921a 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 a532561e8..48409040e 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 */
--
2.14.1
References