From 8b2de024bf05234d9fada073baddd9b94fd5a04e Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Sat, 17 Nov 2012 22:35:13 +0000 Subject: 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 --- epan/dissectors/packet-ositp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'epan/dissectors/packet-ositp.c') 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; -- cgit v1.2.3