diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2013-07-15 18:05:57 +0000 |
---|---|---|
committer | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2013-07-15 18:05:57 +0000 |
commit | 9ddfede7615caffb658bc7917770f6e0e604aaca (patch) | |
tree | 0585603e9aeaa178ab5cc6b45ea4abf37241954e | |
parent | b583443a75795b9fb04ce0a44f1b4cf1a1f95e3e (diff) |
Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=50629
-rw-r--r-- | epan/dissectors/packet-fcfzs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-fcfzs.c b/epan/dissectors/packet-fcfzs.c index 140ac562d0..c773b3cae5 100644 --- a/epan/dissectors/packet-fcfzs.c +++ b/epan/dissectors/packet-fcfzs.c @@ -263,7 +263,7 @@ dissect_fcfzs_gzc(tvbuff_t *tvb, int offset, proto_tree *parent_tree, gboolean i if (flags & 0x01) { proto_item_append_text(item, " ZoneSet Database Available"); } - flags &= (~( 0x01 )); + /*flags &= (~( 0x01 ));*/ proto_tree_add_item(tree, hf_fcfzs_gzc_vendor, tvb, offset+4, 4, ENC_BIG_ENDIAN); } @@ -304,7 +304,7 @@ dissect_fcfzs_gest(tvbuff_t *tvb, proto_tree *parent_tree, gboolean isreq) if (flags & 0x40) { proto_item_append_text(item, " Hard Zone Set Enforced"); } - flags &= (~( 0x40 )); + /*flags &= (~( 0x40 ));*/ proto_tree_add_item(parent_tree, hf_fcfzs_gest_vendor, tvb, offset+4, 4, ENC_BIG_ENDIAN); |