From: Matthew Fernandez Date: Sat, 6 Nov 2021 23:54:44 +0000 (-0700) Subject: smyrna: remove unused graph data 'Modified' field X-Git-Tag: 2.50.0~40^2~4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8b1081a8c3d0aed7f3018adb0701294e980d9dcb;p=graphviz smyrna: remove unused graph data 'Modified' field --- diff --git a/cmd/smyrna/smyrnadefs.h b/cmd/smyrna/smyrnadefs.h index f128f34e8..71e99ff48 100644 --- a/cmd/smyrna/smyrnadefs.h +++ b/cmd/smyrna/smyrnadefs.h @@ -194,8 +194,6 @@ typedef struct typedef struct _graph_data { Agrec_t h; char *GraphFileName; - //graph's location, change these to move the whole graph - int Modified; //if graph has been modified after loading } graph_data; diff --git a/cmd/smyrna/viewport.c b/cmd/smyrna/viewport.c index 369598572..ac9601c48 100644 --- a/cmd/smyrna/viewport.c +++ b/cmd/smyrna/viewport.c @@ -396,7 +396,6 @@ void init_viewport(ViewInfo * view) view->active_camera = -1; set_viewport_settings_from_template(view, view->systemGraphs.def_attrs); view->Topview->Graphdata.GraphFileName = (char *) 0; - view->Topview->Graphdata.Modified = 0; view->colschms = NULL; view->arcball = NEW(ArcBall_t); view->keymap.down=0;