From fc0295d1b69f5977ea3cc7e630d0c32e7e6ada71 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Sun, 31 Oct 2021 09:39:25 -0700 Subject: [PATCH] smyrna: remove unused 'picked_nodes' --- cmd/smyrna/smyrnadefs.h | 3 --- cmd/smyrna/topviewfuncs.c | 2 -- 2 files changed, 5 deletions(-) diff --git a/cmd/smyrna/smyrnadefs.h b/cmd/smyrna/smyrnadefs.h index 68d771f08..75e96d9f7 100644 --- a/cmd/smyrna/smyrnadefs.h +++ b/cmd/smyrna/smyrnadefs.h @@ -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; diff --git a/cmd/smyrna/topviewfuncs.c b/cmd/smyrna/topviewfuncs.c index 74489f616..2115145fc 100644 --- a/cmd/smyrna/topviewfuncs.c +++ b/cmd/smyrna/topviewfuncs.c @@ -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; -- 2.40.0