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
This commit is contained in:
Martin Mathieson 2008-07-09 14:50:05 +00:00
parent b29e8aed10
commit f37686bc6f
1 changed files with 1 additions and 1 deletions

View File

@ -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;