From: Matthew Fernandez Date: Mon, 21 Mar 2022 14:29:04 +0000 (-0700) Subject: smyrna doApply: remove unused 't' X-Git-Tag: 4.0.0~161^2~5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e694846026967b7d686cc6d8090c4e67fb854f8d;p=graphviz smyrna doApply: remove unused 't' This causes compiler warnings resulting in build failure when enabling this in the CMake build system. Gitlab: related to #1836 --- diff --git a/cmd/smyrna/gui/frmobjectui.c b/cmd/smyrna/gui/frmobjectui.c index caaef5193..741133302 100644 --- a/cmd/smyrna/gui/frmobjectui.c +++ b/cmd/smyrna/gui/frmobjectui.c @@ -428,7 +428,6 @@ static void doApply (GtkWidget * widget, int doAll) char *value; char *def_val; int prog; - topview *t; Agnode_t *v; Agedge_t *e; Agraph_t *g; @@ -452,7 +451,6 @@ static void doApply (GtkWidget * widget, int doAll) glade_xml_get_widget(xml, "attrProg")); g = view->g[view->activeGraph]; - t = view->Topview; objKind = get_object_type(); attr = binarySearch(view->Topview->attributes, attr_name); assert(attr);