From f37686bc6f8ac8ef0d64ca10b5385c1be52b44b2 Mon Sep 17 00:00:00 2001 From: Martin Mathieson Date: Wed, 9 Jul 2008 14:50:05 +0000 Subject: Initialise type to avoid warning. I'm pretty sure that it won't be used uninitialised, and that the code could be more clearly arranged to make this obvious to the compiler too. svn path=/trunk/; revision=25685 --- epan/dissectors/packet-ipsi-ctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'epan/dissectors/packet-ipsi-ctl.c') diff --git a/epan/dissectors/packet-ipsi-ctl.c b/epan/dissectors/packet-ipsi-ctl.c index a3f90cd91a..c7d81a50ba 100644 --- a/epan/dissectors/packet-ipsi-ctl.c +++ b/epan/dissectors/packet-ipsi-ctl.c @@ -63,7 +63,7 @@ static void dissect_ipsictl(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) int remaining_length; guint16 magic; guint16 length; - guint16 type; + guint16 type=0; guint16 sequence=0; int first_sequence=-1; int last_sequence=-1; -- cgit v1.2.3