diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2014-09-26 21:31:32 +0200 |
---|---|---|
committer | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2014-09-27 20:07:11 +0000 |
commit | f0b5fb7a0445831af14c0e6cba4b29eae7032c2e (patch) | |
tree | 898ef33920a28ec5a9d8d6c057eae9fb4de0e93d /epan/dissectors/packet-dcerpc-samr.c | |
parent | 99f5c507d2ce327d73eb598e77af714f47a462f9 (diff) |
PIDL: Fix Dead Store (Dead assignement/Dead increment) warning found by Clang
Change-Id: I7f6f974732b7905f4ea4686e1a79ca6fbef78fa8
Reviewed-on: https://code.wireshark.org/review/4319
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-dcerpc-samr.c')
-rw-r--r-- | epan/dissectors/packet-dcerpc-samr.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/epan/dissectors/packet-dcerpc-samr.c b/epan/dissectors/packet-dcerpc-samr.c index b30888927b..40102f79a5 100644 --- a/epan/dissectors/packet-dcerpc-samr.c +++ b/epan/dissectors/packet-dcerpc-samr.c @@ -2364,7 +2364,7 @@ samr_dissect_bitmap_AcctFlags(tvbuff_t *tvb _U_, int offset _U_, packet_info *pi tree = proto_item_add_subtree(item,ett_samr_samr_AcctFlags); } - offset = dissect_ndr_uint32(tvb, offset, pinfo, NULL, di, drep, -1, &flags); + offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, -1, &flags); proto_item_append_text(item, ": "); if (!flags) @@ -2794,7 +2794,7 @@ samr_dissect_bitmap_PasswordProperties(tvbuff_t *tvb _U_, int offset _U_, packet tree = proto_item_add_subtree(item,ett_samr_samr_PasswordProperties); } - offset = dissect_ndr_uint32(tvb, offset, pinfo, NULL, di, drep, -1, &flags); + offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, -1, &flags); proto_item_append_text(item, ": "); if (!flags) @@ -3897,7 +3897,7 @@ samr_dissect_bitmap_GroupAttrs(tvbuff_t *tvb _U_, int offset _U_, packet_info *p tree = proto_item_add_subtree(item,ett_samr_samr_GroupAttrs); } - offset = dissect_ndr_uint32(tvb, offset, pinfo, NULL, di, drep, -1, &flags); + offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, -1, &flags); proto_item_append_text(item, ": "); if (!flags) @@ -5958,7 +5958,7 @@ samr_dissect_bitmap_FieldsPresent(tvbuff_t *tvb _U_, int offset _U_, packet_info tree = proto_item_add_subtree(item,ett_samr_samr_FieldsPresent); } - offset = dissect_ndr_uint32(tvb, offset, pinfo, NULL, di, drep, -1, &flags); + offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, -1, &flags); proto_item_append_text(item, ": "); if (!flags) @@ -8341,7 +8341,7 @@ samr_dissect_bitmap_ValidateFieldsPresent(tvbuff_t *tvb _U_, int offset _U_, pac tree = proto_item_add_subtree(item,ett_samr_samr_ValidateFieldsPresent); } - offset = dissect_ndr_uint32(tvb, offset, pinfo, NULL, di, drep, -1, &flags); + offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, -1, &flags); proto_item_append_text(item, ": "); if (!flags) |