]> granicus.if.org Git - graphviz/commitdiff
smyrna: remove unused 'picked_nodes'
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 31 Oct 2021 16:39:25 +0000 (09:39 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 6 Nov 2021 22:32:25 +0000 (15:32 -0700)
cmd/smyrna/smyrnadefs.h
cmd/smyrna/topviewfuncs.c

index 68d771f0802cab5b492a59d15d33311d7ff81e8e..75e96d9f789d9e24a4c99a52beafcab899b8aa27 100644 (file)
@@ -362,9 +362,6 @@ typedef struct
            focus_t *fs;
        } fisheyeParams;
 
-       topview_node **picked_nodes;
-       int picked_node_count;
-
        graph_data Graphdata;
        float maxedgelen;
        float minedgelen;
index 74489f616b793ee8345fbb76a94e76c69368a194..2115145fcba55d718a9d35511964537e9d67b7b4 100644 (file)
@@ -833,8 +833,6 @@ void updateSmGraph(Agraph_t * g,topview* t)
     t->maxedgelen=0;
     t->minedgelen=-1;
 
-    t->picked_node_count = 0;
-    t->picked_nodes = '\0';
     t->global_z=0;
     t->sel.selPoly.cnt=0;
     t->sel.selPoly.pts=NULL;