[dia] [warningectomy] unused function 'goal_create_change'



commit 656ceefbcafcacedc0a40232258baff6b9149f76
Author: Hans Breuer <hans breuer org>
Date:   Fri Oct 3 21:38:41 2014 +0200

    [warningectomy] unused function 'goal_create_change'
    
    goal.c:482:1: warning: unused function 'goal_create_change' [-Wunused-function]
    goal_create_change(Goal *goal, ObjectChange *inner, ConnPointLine *cpl) {
    ^

 objects/Istar/goal.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/objects/Istar/goal.c b/objects/Istar/goal.c
index 21588be..0433853 100644
--- a/objects/Istar/goal.c
+++ b/objects/Istar/goal.c
@@ -478,11 +478,6 @@ static void update_goal_connectors(ConnectionPoint *c, Point p, double w, double
   c[8].directions = DIR_ALL;
 }
 
-inline static ObjectChange *
-goal_create_change(Goal *goal, ObjectChange *inner, ConnPointLine *cpl) {
-  return (ObjectChange *)inner;
-}
-
 /* creating stuff */
 static DiaObject *
 goal_create(Point *startpoint,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]