diff options
author | Bill Meier <wmeier@newsguy.com> | 2011-04-12 19:59:26 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2011-04-12 19:59:26 +0000 |
commit | 706a2fd0a43de684643cc6b35b6fb4b6c04d5ad7 (patch) | |
tree | 6e8f6b06d8e28b2ab0e02e1457ba7641170e8a12 /epan/dissectors/packet-ppi.c | |
parent | fa5a06231cfe0628144fdda5f80a843ab7ea6f9e (diff) |
Don't assign to a variable if the value won't be used: Coverity 1002 & 1003.
svn path=/trunk/; revision=36604
Diffstat (limited to 'epan/dissectors/packet-ppi.c')
-rw-r--r-- | epan/dissectors/packet-ppi.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-ppi.c b/epan/dissectors/packet-ppi.c index 22d2120cc9..6da3feb88f 100644 --- a/epan/dissectors/packet-ppi.c +++ b/epan/dissectors/packet-ppi.c @@ -779,9 +779,9 @@ dissect_ppi(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) proto_tree_add_item(ppi_flags_tree, hf_ppi_head_flag_reserved, tvb, offset + 1, 1, TRUE); - ti = proto_tree_add_item(ppi_tree, hf_ppi_head_len, + proto_tree_add_item(ppi_tree, hf_ppi_head_len, tvb, offset + 2, 2, TRUE); - ti = proto_tree_add_item(ppi_tree, hf_ppi_head_dlt, + proto_tree_add_item(ppi_tree, hf_ppi_head_dlt, tvb, offset + 4, 4, TRUE); } @@ -925,7 +925,7 @@ dissect_ppi(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) * routine which would un-do the work we just did. We're using * the reassembly code to track MPDU sizes and frame numbers. */ - fd_head = fragment_add_seq_next(tvb, offset, pinfo, ampdu_id, + /*??fd_head = */fragment_add_seq_next(tvb, offset, pinfo, ampdu_id, ampdu_fragment_table, ampdu_reassembled_table, len_remain, TRUE); pinfo->fragmented = TRUE; |