From: Matthew Fernandez Date: Sat, 24 Dec 2022 22:05:30 +0000 (-0800) Subject: smyrna set_combobox_widget: remove no-op casts X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f01ab52ef8e67496bf941ad0a834561c10681274;p=graphviz smyrna set_combobox_widget: remove no-op casts --- diff --git a/cmd/smyrna/gui/topviewsettings.c b/cmd/smyrna/gui/topviewsettings.c index 2ac2c5acd..4b51d0d87 100644 --- a/cmd/smyrna/gui/topviewsettings.c +++ b/cmd/smyrna/gui/topviewsettings.c @@ -267,10 +267,9 @@ static int set_combobox_widget(char *attrib, char *widget_name) copy_attr(view->systemGraphs.def_attrs, attrib, view->g[view->activeGraph]); } if (buf) { - value = (int) atoi(buf); + value = atoi(buf); gtk_combo_box_set_active((GtkComboBox *) - glade_xml_get_widget(xml, widget_name), - (int) value); + glade_xml_get_widget(xml, widget_name), value); return 1; }