aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ositp.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2012-11-17 22:35:13 +0000
committerGuy Harris <guy@alum.mit.edu>2012-11-17 22:35:13 +0000
commit8b2de024bf05234d9fada073baddd9b94fd5a04e (patch)
treed0e751a8a4bac1d9f12fabc3e40607e2395aca04 /epan/dissectors/packet-ositp.c
parent7ef91b394d9e2e1a96f187069ced4e02707cb9b2 (diff)
Squelch a warning (not enough data flow analysis is done to know that
cotp_tree actually never will be used uninitialized). svn path=/trunk/; revision=46061
Diffstat (limited to 'epan/dissectors/packet-ositp.c')
-rw-r--r--epan/dissectors/packet-ositp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-ositp.c b/epan/dissectors/packet-ositp.c
index c5635aa105..d41fad8888 100644
--- a/epan/dissectors/packet-ositp.c
+++ b/epan/dissectors/packet-ositp.c
@@ -1983,7 +1983,7 @@ static int ositp_decode_EA(tvbuff_t *tvb, int offset, guint8 li, guint8 tpdu,
static int ositp_decode_ER(tvbuff_t *tvb, int offset, guint8 li, guint8 tpdu,
packet_info *pinfo, proto_tree *tree)
{
- proto_tree *cotp_tree;
+ proto_tree *cotp_tree = NULL;
proto_item *ti;
const char *str;
guint16 dst_ref;