]> granicus.if.org Git - graphviz/commitdiff
smyrna: remove unused 'maxnodedegree'
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 31 Oct 2021 16:37:56 +0000 (09:37 -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 22a462ffd8b0f9953df87cc692e0244a528a038c..0bad5cee40b7fdf2810997d0f62c7197acb97ade 100644 (file)
@@ -368,7 +368,6 @@ typedef struct
        int picked_edge_count;
 
        graph_data Graphdata;
-       int maxnodedegree;
        float maxedgelen;
        float minedgelen;
        float fitin_zoom;
index 0c11d452694766732b25624e2477468abcc08dae..3b0ec790165e1f441d3a56955c8618c581fedff1 100644 (file)
@@ -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;