git.samba.org
/
obnox
/
wireshark
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54c84c8
)
Removed an unused variable.
author
stig
<stig@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 9 Nov 2009 14:22:26 +0000
(14:22 +0000)
committer
stig
<stig@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 9 Nov 2009 14:22:26 +0000
(14:22 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30891
f5534014
-38df-0310-8fa8-
9805f1628bb7
wiretap/erf.c
patch
|
blob
|
history
diff --git
a/wiretap/erf.c
b/wiretap/erf.c
index 6d9a549cd21a94674ad5237123e6f9b6fb5cc440..d2076dc71e4a0cc4d79429eddfeab0b63ab73404 100644
(file)
--- a/
wiretap/erf.c
+++ b/
wiretap/erf.c
@@
-83,7
+83,7
@@
extern int erf_open(wtap *wth, int *err, gchar **err_info _U_)
guint32 mc_hdr;
guint16 eth_hdr;
guint32 packet_size;
- guint16 rlen
,wlen
;
+ guint16 rlen;
guint64 erf_ext_header;
guint8 type;
size_t r;
@@
-125,7
+125,6
@@
extern int erf_open(wtap *wth, int *err, gchar **err_info _U_)
}
rlen=g_ntohs(header.rlen);
- wlen=g_ntohs(header.wlen);
/* fail on invalid record type, invalid rlen, timestamps decreasing, or incrementing too far */