aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-epl.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2017-06-07 12:36:07 +0200
committerAnders Broman <a.broman58@gmail.com>2017-06-08 14:44:45 +0000
commit2d7d10ad1a6c24b45645e377db79f927aca7164b (patch)
tree9b2d7e08c8765edc7f4dbfdebae1e7aea92bf002 /epan/dissectors/packet-epl.c
parent3453a0b888a0e188c03012023a4e93d03764602c (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/packet-epl.c')
-rw-r--r--epan/dissectors/packet-epl.c2
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;