aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ipsi-ctl.c
diff options
context:
space:
mode:
authorMartin Mathieson <martin.r.mathieson@googlemail.com>2008-07-09 14:50:05 +0000
committerMartin Mathieson <martin.r.mathieson@googlemail.com>2008-07-09 14:50:05 +0000
commitf37686bc6f8ac8ef0d64ca10b5385c1be52b44b2 (patch)
tree56456e53b9303b1919fb57c83aa13583363eed4e /epan/dissectors/packet-ipsi-ctl.c
parentb29e8aed10df266383bfa98f0caff9299d33487c (diff)
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
Diffstat (limited to 'epan/dissectors/packet-ipsi-ctl.c')
-rw-r--r--epan/dissectors/packet-ipsi-ctl.c2
1 files changed, 1 insertions, 1 deletions
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;