diff options
author | Chris Maynard <Christopher.Maynard@GTECH.COM> | 2013-12-13 01:56:40 +0000 |
---|---|---|
committer | Chris Maynard <Christopher.Maynard@GTECH.COM> | 2013-12-13 01:56:40 +0000 |
commit | bd9b32ae3e9d22d007ae513e133efbebef4d13e0 (patch) | |
tree | 93ab2dd5d8d15c160873f0551e4d7177c2f514d2 | |
parent | 10d8530102d59a08214531c57857ee72ce95588d (diff) |
Fix Visual Studio Code Analysis warning C6001: Using uninitialized memory 'obj_type'
svn path=/trunk/; revision=54008
-rw-r--r-- | epan/dissectors/packet-dnp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-dnp.c b/epan/dissectors/packet-dnp.c index 828af8b55e..c7e10473fb 100644 --- a/epan/dissectors/packet-dnp.c +++ b/epan/dissectors/packet-dnp.c @@ -2775,7 +2775,7 @@ static int dissect_dnp3_al(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { guint8 al_ctl, al_seq, al_func, al_class = 0, i; - guint16 bytes, obj_type; + guint16 bytes, obj_type = 0; guint data_len = 0, offset = 0; proto_item *ti, *tc, *t_robj; proto_tree *al_tree, *field_tree, *robj_tree; |