aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2010-06-09 16:02:34 +0000
committerstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2010-06-09 16:02:34 +0000
commit22fa0ffb036eb70939ec927a64fac770997ebf22 (patch)
treeb64888849672d179f7232731a60a208ea7ae5075
parenta9eae72f19b3c6784ff156007ad987911961c95b (diff)
Initialize dst_ref.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@33189 f5534014-38df-0310-8fa8-9805f1628bb7
-rw-r--r--asn1/idmp/packet-idmp-template.c2
-rw-r--r--epan/dissectors/packet-idmp.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/asn1/idmp/packet-idmp-template.c b/asn1/idmp/packet-idmp-template.c
index 92e2b42717..522204f46a 100644
--- a/asn1/idmp/packet-idmp-template.c
+++ b/asn1/idmp/packet-idmp-template.c
@@ -155,7 +155,7 @@ static void dissect_idmp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_t
guint32 idmp_length;
fragment_data *fd_head;
conversation_t *conv;
- guint32 dst_ref;
+ guint32 dst_ref = 0;
asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
diff --git a/epan/dissectors/packet-idmp.c b/epan/dissectors/packet-idmp.c
index 121be5cb89..6b4c80ab1c 100644
--- a/epan/dissectors/packet-idmp.c
+++ b/epan/dissectors/packet-idmp.c
@@ -1,7 +1,7 @@
/* Do not modify this file. */
/* It is created automatically by the ASN.1 to Wireshark dissector compiler */
/* packet-idmp.c */
-/* ../../tools/asn2wrs.py -b -e -L -k -p idmp -c ./idmp.cnf -s ./packet-idmp-template -D . IDMProtocolSpecification.asn CommonProtocolSpecification.asn */
+/* ../../tools/asn2wrs.py -b -e -L -p idmp -c ./idmp.cnf -s ./packet-idmp-template -D . IDMProtocolSpecification.asn CommonProtocolSpecification.asn */
/* Input file: packet-idmp-template.c */
@@ -637,7 +637,7 @@ static void dissect_idmp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_t
guint32 idmp_length;
fragment_data *fd_head;
conversation_t *conv;
- guint32 dst_ref;
+ guint32 dst_ref = 0;
asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);