aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/ipfix.c
diff options
context:
space:
mode:
authorJakub Zawadzki <darkjames-ws@darkjames.pl>2012-10-19 07:29:56 +0000
committerJakub Zawadzki <darkjames-ws@darkjames.pl>2012-10-19 07:29:56 +0000
commit6f50f7bf50f020a665089e9aa345a0b3dde1df3a (patch)
tree94f06a20b5f84d7a89c22c906b3ee5a9235618f3 /wiretap/ipfix.c
parentfe22586b7904e2de46bc6960480e9e6218198fd7 (diff)
Mark unused variable with _U_
svn path=/trunk/; revision=45656
Diffstat (limited to 'wiretap/ipfix.c')
-rw-r--r--wiretap/ipfix.c5
1 files changed, 1 insertions, 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'",