PTP: Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang

Change-Id: I277c0e6f0f257dfb84bfb778c221c519204907d4
Reviewed-on: https://code.wireshark.org/review/14643
Reviewed-by: Uli Heilmeier <openid@heilmeier.eu>
Reviewed-by: Michael Mann <mmann78@netscape.net>
This commit is contained in:
Alexis La Goutte 2016-03-26 19:21:52 +01:00 committed by Michael Mann
parent a0b1354583
commit d2f96c6019
1 changed files with 0 additions and 1 deletions

View File

@ -4105,7 +4105,6 @@ dissect_ptp_v2(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, gboolean ptp
ptp_leapsecondjump_tree = proto_item_add_subtree(leapsecondjumpflags_ti, ett_ptp_oe_smpte_leapsecondjump);
proto_tree_add_item(ptp_leapsecondjump_tree,
hf_ptp_v2_oe_tlv_subtype_smpte_leapsecondjump_change, tvb, Offset, 1, ENC_BIG_ENDIAN);
Offset += 1;
break;
}
}