From b19fb47803d9373e996a7da20db247db48703a4c Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Wed, 13 Oct 2021 19:54:34 -0700 Subject: [PATCH] smyrna: remove unused 'glade_file' field --- cmd/smyrna/smyrnadefs.h | 1 - cmd/smyrna/viewport.c | 2 -- 2 files changed, 3 deletions(-) diff --git a/cmd/smyrna/smyrnadefs.h b/cmd/smyrna/smyrnadefs.h index 56c9f5f8f..d930ddae7 100644 --- a/cmd/smyrna/smyrnadefs.h +++ b/cmd/smyrna/smyrnadefs.h @@ -643,7 +643,6 @@ typedef struct int initFile; int drawSplines; colorschemaset *colschms; - char *glade_file; char* temp; char *template_file; GtkComboBox *graphComboBox; /*pointer to graph combo box at top right */ diff --git a/cmd/smyrna/viewport.c b/cmd/smyrna/viewport.c index 3fe1b8ef1..42420a1a4 100644 --- a/cmd/smyrna/viewport.c +++ b/cmd/smyrna/viewport.c @@ -255,11 +255,9 @@ static void get_data_dir(void) { if (view->template_file) { free(view->template_file); - free(view->glade_file); } view->template_file = strdup(smyrnaPath("template.dot")); - view->glade_file = strdup(smyrnaPath("smyrna.glade")); } void init_viewport(ViewInfo * view) -- 2.40.0