diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2017-06-07 12:36:07 +0200 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2017-06-08 14:44:45 +0000 |
commit | 2d7d10ad1a6c24b45645e377db79f927aca7164b (patch) | |
tree | 9b2d7e08c8765edc7f4dbfdebae1e7aea92bf002 /epan/dissectors | |
parent | 3453a0b888a0e188c03012023a4e93d03764602c (diff) |
epl: Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang
Change-Id: Ibe5d2e21fcda05fa8ee52157630d4896deaef440
Reviewed-on: https://code.wireshark.org/review/22003
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors')
-rw-r--r-- | epan/dissectors/packet-epl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-epl.c b/epan/dissectors/packet-epl.c index 0ca208ee10..c51eb73e48 100644 --- a/epan/dissectors/packet-epl.c +++ b/epan/dissectors/packet-epl.c @@ -4490,7 +4490,7 @@ dissect_epl_sdo_command_write_multiple_by_index(struct epl_convo *convo, proto_t * we start the loop. */ while ( remlength > 0 ) { - guint16 sod_index = error; + guint16 sod_index; if ((tvb_get_guint8 ( tvb, offset + 3 ) & 0x80) == 0x80) is_abort = TRUE; |