aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Fisher <steve@stephen-fisher.com>2007-10-14 00:56:53 +0000
committerStephen Fisher <steve@stephen-fisher.com>2007-10-14 00:56:53 +0000
commit239f4e2ebb6409a6e3f2132ecef3378dfbf95d91 (patch)
treebe2ddaebd5a77f59a59ef1f5e919f4c24d5b094e
parentb5e2191dd64e852a6c34d52551a6cf6382712c2c (diff)
Fix Unix buildbots ("warning: 'msg_type' may be used uninitialized in this
function") svn path=/trunk/; revision=23172
-rw-r--r--plugins/ciscosm/packet-sm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ciscosm/packet-sm.c b/plugins/ciscosm/packet-sm.c
index be2c4f6e7a..1081da89c2 100644
--- a/plugins/ciscosm/packet-sm.c
+++ b/plugins/ciscosm/packet-sm.c
@@ -138,7 +138,7 @@ dissect_sm(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
tvbuff_t *next_tvb = NULL;
guint32 sm_message_type;
guint16 protocol;
- guint16 msg_type;
+ guint16 msg_type = 0;
guint16 length;
guint16 tag;
int offset=0;