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>
This commit is contained in:
Alexis La Goutte 2017-06-07 12:36:07 +02:00 committed by Anders Broman
parent 3453a0b888
commit 2d7d10ad1a
1 changed files with 1 additions and 1 deletions

View File

@ -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;