Fix Dead Store (Dead assignement/Dead increment) warning found by Clang

Change-Id: Ie97c65c1a995881eb400a44f17a493494f97d9dd
Reviewed-on: https://code.wireshark.org/review/1722
Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
Alexis La Goutte 2014-05-22 10:40:55 +02:00 committed by Anders Broman
parent e92ee3590d
commit 19c1989cfa
1 changed files with 2 additions and 2 deletions

View File

@ -2107,7 +2107,7 @@ dissect_ieee_802_1qbg_tlv(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tre
/* Dissect IEEE 802.3 TLVs */
static void
static int
dissect_ieee_802_3_tlv(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint32 offset)
{
guint8 subType;
@ -2320,7 +2320,7 @@ dissect_ieee_802_3_tlv(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree,
}
}
return;
return tempOffset;
}
/* Dissect Media TLVs */