aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-cipmotion.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2011-10-13 01:24:43 +0000
committerBill Meier <wmeier@newsguy.com>2011-10-13 01:24:43 +0000
commit47c756557143e342444abaa31aa46cdfaa65680c (patch)
tree85f6e57dc102d9b81d95c9885fa4a4c99222029c /epan/dissectors/packet-cipmotion.c
parentde7561dc5373ab4f93f188d2e96a885c84590274 (diff)
Initial a variable to prevent a (not actualy valid) compiler warning:
'inst_count' may be used uninitialized in this function. svn path=/trunk/; revision=39400
Diffstat (limited to 'epan/dissectors/packet-cipmotion.c')
-rw-r--r--epan/dissectors/packet-cipmotion.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-cipmotion.c b/epan/dissectors/packet-cipmotion.c
index 846043f743..f28931d055 100644
--- a/epan/dissectors/packet-cipmotion.c
+++ b/epan/dissectors/packet-cipmotion.c
@@ -1833,7 +1833,7 @@ dissect_cipmotion(tvbuff_t* tvb, packet_info* pinfo, proto_tree* tree)
{
/* Sizes of the individual channels within the connection */
guint32 cyc_size, cyc_blk_size, evnt_size, servc_size;
- guint32 inst_count, inst;
+ guint32 inst_count = 0, inst;
/* Dissect the header fields */
switch(con_format)