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:
parent
e92ee3590d
commit
19c1989cfa
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue