aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-xtp.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2011-05-05 00:48:54 +0000
committerBill Meier <wmeier@newsguy.com>2011-05-05 00:48:54 +0000
commit9a6bd42cf4d71f5bb33717ed0b4e3707811ebadc (patch)
tree3e212ddd6a38048d5eaf03316895744b4f747883 /epan/dissectors/packet-xtp.c
parentbe383edc3017f08a536bddf5ed040b755df87b4a (diff)
Don't assign to unused variable: Coverity 1132 [UNUSED].
svn path=/trunk/; revision=36993
Diffstat (limited to 'epan/dissectors/packet-xtp.c')
-rw-r--r--epan/dissectors/packet-xtp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-xtp.c b/epan/dissectors/packet-xtp.c
index 92720a5a11..399c4d137d 100644
--- a/epan/dissectors/packet-xtp.c
+++ b/epan/dissectors/packet-xtp.c
@@ -609,7 +609,7 @@ dissect_xtp_ecntl(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
guint32 offset) {
guint32 len = tvb_length_remaining(tvb, offset);
guint32 start = offset;
- proto_item *top_ti, *ti;
+ proto_item *top_ti;
proto_tree *xtp_subtree;
struct xtp_ecntl ecntl[1];
guint64 *spans, *p;
@@ -688,7 +688,7 @@ dissect_xtp_ecntl(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
tvb, offset, 4, ecntl->echo);
offset += 4;
/* nspan(4) */
- ti = proto_tree_add_uint(xtp_subtree, hf_xtp_ecntl_nspan,
+ proto_tree_add_uint(xtp_subtree, hf_xtp_ecntl_nspan,
tvb, offset, 4, ecntl->nspan);
offset += 4;
/* spans(16n) */