From 287fa61949b75beab284361415d6052de652429b Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Wed, 13 Oct 2021 19:58:36 -0700 Subject: [PATCH] smyrna: remove unused 'dfltEngine' field --- cmd/smyrna/smyrnadefs.h | 1 - cmd/smyrna/viewport.c | 1 - 2 files changed, 2 deletions(-) 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; -- 2.40.0