diff options
author | Martin Kaiser <wireshark@kaiser.cx> | 2013-10-28 16:59:57 +0000 |
---|---|---|
committer | Martin Kaiser <wireshark@kaiser.cx> | 2013-10-28 16:59:57 +0000 |
commit | c89b9a2cdc9e99017776ecb8137efdaa04662f1a (patch) | |
tree | 8242dbdebabfa7192885387444cd81b8c257cc68 /asn1/camel | |
parent | 5de5fe6cb19cbeaad9fd2fb2bc0280df4716290c (diff) |
initialize tree variables
svn path=/trunk/; revision=52920
Diffstat (limited to 'asn1/camel')
-rw-r--r-- | asn1/camel/packet-camel-template.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/asn1/camel/packet-camel-template.c b/asn1/camel/packet-camel-template.c index 9f2a73d98f..74c6cebd4d 100644 --- a/asn1/camel/packet-camel-template.c +++ b/asn1/camel/packet-camel-template.c @@ -367,7 +367,7 @@ static int dissect_camel_v1(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void* data) { proto_item *item, *stat_item; - proto_tree *tree, *stat_tree; + proto_tree *tree = NULL, *stat_tree = NULL; struct tcap_private_t * p_private_tcap = (struct tcap_private_t*)data; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); @@ -405,7 +405,7 @@ static int dissect_camel_v2(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void* data) { proto_item *item, *stat_item; - proto_tree *tree, *stat_tree; + proto_tree *tree = NULL, *stat_tree = NULL; struct tcap_private_t * p_private_tcap = (struct tcap_private_t*)data; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); @@ -443,7 +443,7 @@ static int dissect_camel(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void* data) { proto_item *item, *stat_item; - proto_tree *tree, *stat_tree; + proto_tree *tree, *stat_tree = NULL; struct tcap_private_t * p_private_tcap = (struct tcap_private_t*)data; asn1_ctx_t asn1_ctx; asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo); |