diff options
author | Anders Broman <anders.broman@ericsson.com> | 2012-06-19 12:44:13 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2012-06-19 12:44:13 +0000 |
commit | f0f3e36bdac61c36a7fc66de7d86f9207bcdf309 (patch) | |
tree | 147e66deee67493fe0009e753a8e258bbcf993f7 /epan/dissectors/packet-windows-common.c | |
parent | 227eb36c83eda54d049ae7ddee36f24a2d46197e (diff) |
Try to fix unused variable warnings and "clobbered by 'longjmp' or 'vfork' "
svn path=/trunk/; revision=43355
Diffstat (limited to 'epan/dissectors/packet-windows-common.c')
-rw-r--r-- | epan/dissectors/packet-windows-common.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/epan/dissectors/packet-windows-common.c b/epan/dissectors/packet-windows-common.c index 7546b28550..2b4891035e 100644 --- a/epan/dissectors/packet-windows-common.c +++ b/epan/dissectors/packet-windows-common.c @@ -2356,13 +2356,12 @@ dissect_nt_acl(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *parent_tree, guint8 *drep, const char *name, struct access_mask_info *ami) { - proto_item *item = NULL; - proto_tree *tree = NULL; + proto_item *volatile item = NULL; + proto_tree *volatile tree = NULL; int old_offset = offset; int pre_ace_offset; guint16 revision; guint32 num_aces; - guint32 total_aces; gboolean missing_data = FALSE; if(parent_tree){ @@ -2409,8 +2408,6 @@ dissect_nt_acl(tvbuff_t *tvb, int offset, packet_info *pinfo, tvb, offset, 4, num_aces); offset += 4; - total_aces = num_aces; - while(num_aces-- && !missing_data){ pre_ace_offset = offset; |