aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk
diff options
context:
space:
mode:
authorDario Lombardo <lomato@gmail.com>2016-07-05 23:08:30 +0200
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2016-07-06 06:48:10 +0000
commit50d1d59213886de1f348d85175dbdbe82fe1c87c (patch)
treee14ab9a2bd71f0d87910718f43081c2a2624577c /ui/gtk
parent4b484a6d1af9155eac0d8016cce712963cc9405e (diff)
Qt: add initializers (CID 1162824).
Change-Id: Ib570d3531bfdd35404b75d49dbd7dd43db4c30d9 Reviewed-on: https://code.wireshark.org/review/16310 Petri-Dish: Dario Lombardo <lomato@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Diffstat (limited to 'ui/gtk')
-rw-r--r--ui/gtk/tcp_graph.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/gtk/tcp_graph.c b/ui/gtk/tcp_graph.c
index 37386a667f..66e4ff0412 100644
--- a/ui/gtk/tcp_graph.c
+++ b/ui/gtk/tcp_graph.c
@@ -1553,6 +1553,8 @@ static GtkWidget *control_panel_create_graph_type_group(struct gtk_graph *g)
case GRAPH_WSCALE:
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(graph_wscale), TRUE);
break;
+ case GRAPH_UNDEFINED:
+ break;
}
graph_init = gtk_check_button_new_with_label("Init on change");
graph_sep = gtk_separator_new(GTK_ORIENTATION_HORIZONTAL);