diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2013-04-22 21:24:57 +0000 |
---|---|---|
committer | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2013-04-22 21:24:57 +0000 |
commit | 3797ae72c504f1bbe862f5507166945e1a173658 (patch) | |
tree | dd09febcb7359135ca476a2fc8dd90141d4eb72e /epan/dissectors/packet-clnp.c | |
parent | 7783ca3d2c4282910d1ef1a1473b6f9cc1d01aa2 (diff) |
Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=48982
Diffstat (limited to 'epan/dissectors/packet-clnp.c')
-rw-r--r-- | epan/dissectors/packet-clnp.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/epan/dissectors/packet-clnp.c b/epan/dissectors/packet-clnp.c index 517a65e894..3c476124b6 100644 --- a/epan/dissectors/packet-clnp.c +++ b/epan/dissectors/packet-clnp.c @@ -333,7 +333,6 @@ dissect_clnp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) "PDU length < header length %u", cnf_hdr_len); return; } - total_length = segment_length; cnf_cksum = tvb_get_ntohs(tvb, P_CLNP_CKSUM); cksum_status = calc_checksum(tvb, 0, cnf_hdr_len, cnf_cksum); if (tree) { |