summaryrefslogtreecommitdiff
path: root/gtk/sip_stat.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2011-07-19 22:38:28 +0000
committerGerald Combs <gerald@wireshark.org>2011-07-19 22:38:28 +0000
commit3991a62d31744199b7ae5ee3bac192d2f9b0b9cb (patch)
tree1ee712f1aaecbd587692c81fbf76ee9db3750ecc /gtk/sip_stat.c
parent4e20e37aa6734ca8e894797442c6d55c6c4a8c19 (diff)
downloadwireshark-3991a62d31744199b7ae5ee3bac192d2f9b0b9cb.tar.gz
The GTK+ documentation says we can pass NULL to gtk_table_get_size(). Do
that instead of using a dummy variable. svn path=/trunk/; revision=38127
Diffstat (limited to 'gtk/sip_stat.c')
-rw-r--r--gtk/sip_stat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/sip_stat.c b/gtk/sip_stat.c
index 97161bdbae..9337eacede 100644
--- a/gtk/sip_stat.c
+++ b/gtk/sip_stat.c
@@ -256,7 +256,7 @@ sip_draw_hash_responses(gint * key _U_ , sip_response_code_t *data, gchar * unus
/* Create an entry in the relevant box of the window */
if (data->widget==NULL)
{
- guint x, dummy;
+ guint x;
GtkWidget *tmp;
guint i = data->response_code;
@@ -294,7 +294,7 @@ sip_draw_hash_responses(gint * key _U_ , sip_response_code_t *data, gchar * unus
/* Get number of rows in table */
#if GTK_CHECK_VERSION(2,22,0)
- gtk_table_get_size(GTK_TABLE(data->table), &x, &dummy);
+ gtk_table_get_size(GTK_TABLE(data->table), &x, NULL);
#else
x = GTK_TABLE(data->table)->nrows;
#endif