]> granicus.if.org Git - graphviz/commitdiff
smyrna: remove unused graph data 'Modified' field
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 6 Nov 2021 23:54:44 +0000 (16:54 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 10 Nov 2021 03:50:54 +0000 (19:50 -0800)
cmd/smyrna/smyrnadefs.h
cmd/smyrna/viewport.c

index f128f34e800db740bd25f449416de89ece46ee16..71e99ff48d8879447e90fd0267ec7ddbe62e03d9 100644 (file)
@@ -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;
 
 
index 3695985725c1d348e5aa3a50a038a1ee21d47955..ac9601c484f2821b835ace686cb916d58d53c8a7 100644 (file)
@@ -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;