diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2016-04-19 12:16:38 +0200 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2016-04-25 10:46:33 +0000 |
commit | 3304e785118846598dbf728815d404429c39f7d7 (patch) | |
tree | 15357524f2931bb1959cf4169c3cb184642c8546 /epan/dissectors/packet-eth.c | |
parent | a3e49b7bffd3abe1cc5de1493d11b5348731070b (diff) |
eth: fix 'pseudo_header' was marked unused but was used [-Werror,-Wused-but-marked-unused]
Change-Id: I81910fc457afcc1b07a27aea986e1a0c2257b45b
Reviewed-on: https://code.wireshark.org/review/15084
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-eth.c')
-rw-r--r-- | epan/dissectors/packet-eth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-eth.c b/epan/dissectors/packet-eth.c index 68e33c5dbe..a214caa16b 100644 --- a/epan/dissectors/packet-eth.c +++ b/epan/dissectors/packet-eth.c @@ -192,7 +192,7 @@ eth_build_filter(packet_info *pinfo) #define ETHERNET_SNAP 3 gboolean -capture_eth(const guchar *pd, int offset, int len, capture_packet_info_t *cpinfo, const union wtap_pseudo_header *pseudo_header _U_) +capture_eth(const guchar *pd, int offset, int len, capture_packet_info_t *cpinfo, const union wtap_pseudo_header *pseudo_header) { guint16 etype, length; int ethhdr_type; /* the type of ethernet frame */ |