aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-dtn.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2012-11-25 23:33:11 +0000
committerBill Meier <wmeier@newsguy.com>2012-11-25 23:33:11 +0000
commitaa882d5a4720f2b45c826f64304b88095fa5c023 (patch)
tree340e5559c9fa855748fdd5c3fd888e7678759923 /epan/dissectors/packet-dtn.c
parentc230713b5780caf4171245f6afdf035dd4db78c4 (diff)
Fix several [-Wshadow] warnings;
Also: Do some minor whitespace and formatting changes. svn path=/trunk/; revision=46192
Diffstat (limited to 'epan/dissectors/packet-dtn.c')
-rw-r--r--epan/dissectors/packet-dtn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-dtn.c b/epan/dissectors/packet-dtn.c
index d4d305d5c3..9da9e794ba 100644
--- a/epan/dissectors/packet-dtn.c
+++ b/epan/dissectors/packet-dtn.c
@@ -311,7 +311,6 @@ dissect_tcp_bundle(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
int buffer_size; /*Number of bytes in buffer that can be processed*/
int frame_offset; /*To handle the case of > 1 bundle in an Ethernet Frame*/
- proto_tree *conv_proto_tree = NULL;
buffer_size = tvb_reported_length(tvb);
frame_offset = 0;
@@ -430,6 +429,7 @@ dissect_tcp_bundle(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
}
else { /*Else this is not a Data Segment*/
+ proto_tree *conv_proto_tree = NULL;
proto_item *conv_item;
proto_tree *conv_tree;
proto_item *ci;