From 6f50f7bf50f020a665089e9aa345a0b3dde1df3a Mon Sep 17 00:00:00 2001 From: Jakub Zawadzki Date: Fri, 19 Oct 2012 07:29:56 +0000 Subject: [PATCH] Mark unused variable with _U_ svn path=/trunk/; revision=45656 --- wiretap/ipfix.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/wiretap/ipfix.c b/wiretap/ipfix.c index 805d49caf7..5120854716 100644 --- a/wiretap/ipfix.c +++ b/wiretap/ipfix.c @@ -289,14 +289,11 @@ ipfix_read(wtap *wth, int *err, gchar **err_info, gint64 *data_offset) /* classic wtap: seek to file position and read packet */ static gboolean ipfix_seek_read(wtap *wth, gint64 seek_off, - struct wtap_pkthdr *phdr, guint8 *pd, int length _U_, + struct wtap_pkthdr *phdr _U_, guint8 *pd, int length _U_, int *err, gchar **err_info) { - union wtap_pseudo_header *pseudo_header = &phdr->pseudo_header; ipfix_message_header_t msg_hdr; - (void) pseudo_header; /* avoids compiler warning about unused variable */ - /* seek to the right file position */ if (file_seek(wth->random_fh, seek_off, SEEK_SET, err) == -1) { ipfix_debug2("ipfix_seek_read: couldn't read message header with code: %d\n, and error '%s'",