diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2017-06-07 12:42:19 +0200 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2017-06-07 17:41:57 +0000 |
commit | 8aa84c630e258654db4ca99b4eb6c1a1ac3bc8bd (patch) | |
tree | 088b06a0bc6b7b4d1b31f19bb806dd3f7234feef /epan/dissectors/packet-epl.c | |
parent | be8a91b9bd8a06c804d451db4b48d6c35a76d420 (diff) |
epl: Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang
Change-Id: Id5dde66c6473cd7ba3c7cc981d7b86f564f7ca9f
Reviewed-on: https://code.wireshark.org/review/22004
Reviewed-by: Ahmad Fatoum <ahmad@a3f.at>
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/dissectors/packet-epl.c')
-rw-r--r-- | epan/dissectors/packet-epl.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/epan/dissectors/packet-epl.c b/epan/dissectors/packet-epl.c index 79417f60e4..0ca208ee10 100644 --- a/epan/dissectors/packet-epl.c +++ b/epan/dissectors/packet-epl.c @@ -2156,8 +2156,10 @@ epl_get_convo(packet_info *pinfo, int opts) { node_port = pinfo->destport; +#if 0 if (pinfo->dst.type == AT_IPv4 || pinfo->dst.type == AT_ETHER) node_addr = &pinfo->dst; +#endif if (pinfo->dl_dst.type == AT_ETHER) node_dl_addr = &pinfo->dl_dst; } @@ -2165,8 +2167,10 @@ epl_get_convo(packet_info *pinfo, int opts) { node_port = pinfo->srcport; +#if 0 if (pinfo->src.type == AT_IPv4 || pinfo->src.type == AT_ETHER) node_addr = &pinfo->src; +#endif if (pinfo->dl_src.type == AT_ETHER) node_dl_addr = &pinfo->dl_src; } |