diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2009-10-06 13:21:15 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2009-10-06 13:21:15 +0000 |
commit | 4355ba12a96e270f187e03100e5ad9cf7d5698da (patch) | |
tree | 8aac423630d643091b2f65622170c9ce366b2083 /gtk/tcp_graph.c | |
parent | cd31f4d83a10d3e98accfe60319b6ee15e67a14a (diff) |
Removed unused variable thdr.
svn path=/trunk/; revision=30359
Diffstat (limited to 'gtk/tcp_graph.c')
-rw-r--r-- | gtk/tcp_graph.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gtk/tcp_graph.c b/gtk/tcp_graph.c index 6e5efffc62..78a82944c8 100644 --- a/gtk/tcp_graph.c +++ b/gtk/tcp_graph.c @@ -503,7 +503,6 @@ static void tcp_graph_cb (GtkWidget *w _U_, gpointer data, guint callback_action { struct segment current; struct graph *g; - struct tcpheader *thdr; guint graph_type = GPOINTER_TO_INT(data); @@ -516,7 +515,7 @@ static void tcp_graph_cb (GtkWidget *w _U_, gpointer data, guint callback_action graph_initialize_values (g); g->type = graph_type; - if (!(thdr=select_tcpip_session (&cfile, ¤t))) { + if (!select_tcpip_session (&cfile, ¤t)) { return; } |