From: Matthew Fernandez Date: Sat, 25 Sep 2021 23:59:48 +0000 (-0700) Subject: smyrna: remove unused 'respond' global X-Git-Tag: 2.49.2~33^2~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7f6dfe10f26a3468bc6ff3dfc4ce34891f0fc30a;p=graphviz smyrna: remove unused 'respond' global --- diff --git a/cmd/smyrna/gui/gui.c b/cmd/smyrna/gui/gui.c index 657a2d0a2..19ce290d2 100644 --- a/cmd/smyrna/gui/gui.c +++ b/cmd/smyrna/gui/gui.c @@ -314,7 +314,7 @@ void show_gui_warning(char *str) GTK_MESSAGE_WARNING, GTK_BUTTONS_OK, "%s", str); - respond = gtk_dialog_run((GtkDialog *) Dlg); + gtk_dialog_run((GtkDialog *) Dlg); gtk_object_destroy((GtkObject *) Dlg); } diff --git a/cmd/smyrna/smyrnadefs.h b/cmd/smyrna/smyrnadefs.h index 5a3b048aa..6f01f71d6 100644 --- a/cmd/smyrna/smyrnadefs.h +++ b/cmd/smyrna/smyrnadefs.h @@ -719,7 +719,6 @@ typedef struct extern ViewInfo *view; extern GtkMessageDialog *Dlg; - extern int respond; extern char *smyrnaPath(char *suffix); extern char *smyrnaGlade; diff --git a/cmd/smyrna/viewport.c b/cmd/smyrna/viewport.c index 56dcc31c0..9d806a169 100644 --- a/cmd/smyrna/viewport.c +++ b/cmd/smyrna/viewport.c @@ -37,7 +37,6 @@ static colorschemaset *create_color_theme(int themeid); ViewInfo *view; /* these two global variables should be wrapped in something else */ GtkMessageDialog *Dlg; -int respond; static void clear_viewport(ViewInfo * view) {