]> granicus.if.org Git - graphviz/commitdiff
smyrna doApply: remove unused 't'
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Mon, 21 Mar 2022 14:29:04 +0000 (07:29 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 26 Mar 2022 05:31:13 +0000 (22:31 -0700)
This causes compiler warnings resulting in build failure when enabling this in
the CMake build system.

Gitlab: related to #1836

cmd/smyrna/gui/frmobjectui.c

index caaef5193985c2e22ee55d3e763d0b82af70c478..74113330237f2fd5d29f95a90d2e1417d296e4b9 100644 (file)
@@ -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);