From: Matthew Fernandez Date: Thu, 14 Oct 2021 02:58:36 +0000 (-0700) Subject: smyrna: remove unused 'dfltEngine' field X-Git-Tag: 2.49.3~4^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=287fa61949b75beab284361415d6052de652429b;p=graphviz smyrna: remove unused 'dfltEngine' field --- diff --git a/cmd/smyrna/smyrnadefs.h b/cmd/smyrna/smyrnadefs.h index b8ffc66f5..f0b7f57ad 100644 --- a/cmd/smyrna/smyrnadefs.h +++ b/cmd/smyrna/smyrnadefs.h @@ -634,7 +634,6 @@ typedef struct int labelshowedges; viewtype_t dfltViewType; - gvk_layout dfltEngine; glCompSet *widgets; //for novice user open gl menu char *initFileName; //file name from command line int initFile; diff --git a/cmd/smyrna/viewport.c b/cmd/smyrna/viewport.c index 865623060..5c77e13e8 100644 --- a/cmd/smyrna/viewport.c +++ b/cmd/smyrna/viewport.c @@ -402,7 +402,6 @@ void init_viewport(ViewInfo * view) view->active_camera = -1; set_viewport_settings_from_template(view, view->systemGraphs.def_attrs); view->dfltViewType = VT_NONE; - view->dfltEngine = GVK_NONE; view->Topview->Graphdata.GraphFileName = (char *) 0; view->Topview->Graphdata.Modified = 0; view->colschms = NULL;