reassemble.c: In function 'free_all_fragments':

reassemble.c:222: warning: unused variable 'key'

svn path=/trunk/; revision=35155
This commit is contained in:
Anders Broman 2010-12-08 09:12:03 +00:00
parent c1bf80d555
commit 2b23f77b96
1 changed files with 1 additions and 1 deletions

View File

@ -219,7 +219,6 @@ reassembled_hash(gconstpointer k)
static gboolean
free_all_fragments(gpointer key_arg, gpointer value, gpointer user_data _U_)
{
fragment_key *key = key_arg;
fragment_data *fd_head, *tmp_fd;
#if GLIB_CHECK_VERSION(2,10,0)
@ -227,6 +226,7 @@ free_all_fragments(gpointer key_arg, gpointer value, gpointer user_data _U_)
* to free the key and the addresses.
*/
#else
fragment_key *key = key_arg;
/*
* Grr. I guess the theory here is that freeing
* something sure as heck modifies it, so you