diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2019-01-01 17:57:03 +0000 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2019-01-01 22:11:15 +0000 |
commit | caa2c0a95e58a8a099fd7b3271ab0ca7a407b356 (patch) | |
tree | 200018c66370b1c5141283f49cce307f45e0d8a3 | |
parent | be55c4f976249815a797875eefa655d035d1f628 (diff) |
lorawan: fix this condition has identical branches [-Wduplicated-branches]
Change-Id: I9bf885dcd9b8c15212062f8e6205816521e707c3
Reviewed-on: https://code.wireshark.org/review/31292
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Erik de Jong <erikdejong@gmail.com>
Reviewed-by: Michael Mann <mmann78@netscape.net>
-rw-r--r-- | epan/dissectors/packet-lorawan.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/epan/dissectors/packet-lorawan.c b/epan/dissectors/packet-lorawan.c index 0e1d07a31a..6435358b66 100644 --- a/epan/dissectors/packet-lorawan.c +++ b/epan/dissectors/packet-lorawan.c @@ -812,8 +812,6 @@ dissect_lorawan(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree _U_, void *d } else { current_offset += frmpayload_length; } - } else if (mac_mtype == LORAWAN_MAC_MTYPE_PROPRIETARY) { - current_offset = tvb_captured_length(tvb) - 4; } else { /* RFU */ current_offset = tvb_captured_length(tvb) - 4; |