From d0a6c58d4f1298393151db60d35b6c69a185ac73 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Sun, 31 Oct 2021 09:37:56 -0700 Subject: [PATCH] smyrna: remove unused 'maxnodedegree' --- cmd/smyrna/smyrnadefs.h | 1 - cmd/smyrna/topviewfuncs.c | 4 ---- 2 files changed, 5 deletions(-) diff --git a/cmd/smyrna/smyrnadefs.h b/cmd/smyrna/smyrnadefs.h index 22a462ffd..0bad5cee4 100644 --- a/cmd/smyrna/smyrnadefs.h +++ b/cmd/smyrna/smyrnadefs.h @@ -368,7 +368,6 @@ typedef struct int picked_edge_count; graph_data Graphdata; - int maxnodedegree; float maxedgelen; float minedgelen; float fitin_zoom; diff --git a/cmd/smyrna/topviewfuncs.c b/cmd/smyrna/topviewfuncs.c index 0c11d4526..3b0ec7901 100644 --- a/cmd/smyrna/topviewfuncs.c +++ b/cmd/smyrna/topviewfuncs.c @@ -876,10 +876,6 @@ void updateSmGraph(Agraph_t * g,topview* t) } void initSmGraph(Agraph_t * g,topview* rv) { - rv->maxnodedegree = 1; - - - /*create attribute list*/ rv->attributes=load_attr_list(view->g[view->activeGraph]); rv->filtered_attr_list=NULL; -- 2.40.0