diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2012-02-12 18:06:37 +0000 |
---|---|---|
committer | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2012-02-12 18:06:37 +0000 |
commit | 9806283d4c3ba83cb020e5c0c86281b71db3ddf2 (patch) | |
tree | 7287f675fc31b360bd4c5f4ded0d27f220ec1c0b /epan/dissectors/packet-fcdns.c | |
parent | 7ed5d356b402043930f50992f95733a471adbbd2 (diff) |
Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=40997
Diffstat (limited to 'epan/dissectors/packet-fcdns.c')
-rw-r--r-- | epan/dissectors/packet-fcdns.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/epan/dissectors/packet-fcdns.c b/epan/dissectors/packet-fcdns.c index d80ca792c7..3222d4a135 100644 --- a/epan/dissectors/packet-fcdns.c +++ b/epan/dissectors/packet-fcdns.c @@ -283,7 +283,7 @@ dissect_fc4features_and_type (proto_tree *parent_tree, tvbuff_t *tvb, int offset if (flags&0x01){ proto_item_append_text(item, " T"); } - flags&=(~( 0x01 )); + /*flags&=(~( 0x01 ));*/ } proto_tree_add_item (tree, hf_fcdns_req_fc4type, tvb, offset+1, 1, ENC_BIG_ENDIAN); @@ -315,7 +315,7 @@ dissect_fc4features (proto_tree *parent_tree, tvbuff_t *tvb, int offset) if (flags&0x01){ proto_item_append_text(item, " T"); } - flags&=(~( 0x01 )); + /*flags&=(~( 0x01 ));*/ } @@ -380,7 +380,7 @@ dissect_fc4type (proto_tree *parent_tree, tvbuff_t *tvb, int offset, int hfindex if (flags&0x0010){ proto_item_append_text(item, " LLC/SNAP"); } - flags&=(~( 0x0010 )); + /*flags&=(~( 0x0010 ));*/ flags = tvb_get_ntohl (tvb, offset+4); @@ -401,7 +401,7 @@ dissect_fc4type (proto_tree *parent_tree, tvbuff_t *tvb, int offset, int hfindex if (flags&0x0001){ proto_item_append_text(item, " GS3"); } - flags&=(~( 0x0001 )); + /*flags&=(~( 0x0001 ));*/ flags = tvb_get_ntohl (tvb, offset+8); @@ -410,7 +410,7 @@ dissect_fc4type (proto_tree *parent_tree, tvbuff_t *tvb, int offset, int hfindex if (flags&0x0001){ proto_item_append_text(item, " VI"); } - flags&=(~( 0x0001 )); + /*flags&=(~( 0x0001 ));*/ } /* Code to actually dissect the packets */ |