Squelch a few unused parameter warnings.

svn path=/trunk/; revision=20863
This commit is contained in:
Jeff Morriss 2007-02-19 15:30:06 +00:00
parent 376124960d
commit 0787b688cc
4 changed files with 6 additions and 6 deletions

View File

@ -891,7 +891,7 @@ static void dissect_encryption_type(tvbuff_t *tvb, int offset, proto_tree *tree)
}
static void
dissect_encryption_subopt(packet_info *pinfo, const char *optname _U_, tvbuff_t *tvb, int offset, int len, proto_tree *tree)
dissect_encryption_subopt(packet_info *pinfo _U_, const char *optname _U_, tvbuff_t *tvb, int offset, int len, proto_tree *tree)
{
guint8 ecmd, key_first_octet;

View File

@ -388,7 +388,7 @@ fragment_get(packet_info *pinfo, guint32 id, GHashTable *fragment_table)
/* id *must* be the frame number for this to work! */
fragment_data *
fragment_get_reassembled(packet_info *pinfo, guint32 id, GHashTable *reassembled_table)
fragment_get_reassembled(packet_info *pinfo _U_, guint32 id, GHashTable *reassembled_table)
{
fragment_data *fd_head;
reassembled_key key;

View File

@ -484,7 +484,7 @@ static GtkItemFactoryEntry error_list_menu_items[] =
#if (GTK_MAJOR_VERSION >= 2)
static void
expert_goto_pkt_cb (GtkTreeSelection *selection, gpointer data)
expert_goto_pkt_cb (GtkTreeSelection *selection, gpointer data _U_)
{
GtkTreeIter iter;
GtkTreeModel *model;

View File

@ -3035,7 +3035,7 @@ cmdarg_err_cont(const char *fmt, ...)
/** Report a new capture file having been opened. */
void
report_new_capture_file(const char *filename)
report_new_capture_file(const char *filename _U_)
{
/* shouldn't happen */
g_assert_not_reached();
@ -3043,7 +3043,7 @@ report_new_capture_file(const char *filename)
/** Report a number of new packets captured. */
void
report_packet_count(int packet_count)
report_packet_count(int packet_count _U_)
{
/* shouldn't happen */
g_assert_not_reached();
@ -3051,7 +3051,7 @@ report_packet_count(int packet_count)
/** Report the packet drops once the capture finishes. */
void
report_packet_drops(int drops)
report_packet_drops(int drops _U_)
{
/* shouldn't happen */
g_assert_not_reached();