diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2013-03-23 13:08:12 +0000 |
---|---|---|
committer | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2013-03-23 13:08:12 +0000 |
commit | 4cb56bae9547db2f2aede7cebea50251dcfa2c95 (patch) | |
tree | cf5ab212e99becd4b8e69f0c1422d60ebe87557b /epan/dissectors/packet-rsync.c | |
parent | cc13aa780af6197df7dd93b6f02c360754e1e477 (diff) |
Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=48502
Diffstat (limited to 'epan/dissectors/packet-rsync.c')
-rw-r--r-- | epan/dissectors/packet-rsync.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-rsync.c b/epan/dissectors/packet-rsync.c index 813903c97c..fe29c28475 100644 --- a/epan/dissectors/packet-rsync.c +++ b/epan/dissectors/packet-rsync.c @@ -130,7 +130,7 @@ dissect_rsync_encap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, offset += 8; proto_tree_add_item(rsync_tree, hf_rsync_hdr_version, tvb, offset, 4, ENC_ASCII|ENC_NA); tvb_get_nstringz0(tvb, offset, sizeof(version), version); - offset += 4; + /*offset += 4;*/ if (check_col(pinfo->cinfo, COL_INFO)) { /* XXX - is this really a string? */ @@ -148,7 +148,7 @@ dissect_rsync_encap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, offset += 8; proto_tree_add_item(rsync_tree, hf_rsync_hdr_version, tvb, offset, 4, ENC_ASCII|ENC_NA); tvb_get_nstringz0(tvb, offset, sizeof(version), version); - offset += 4; + /*offset += 4;*/ if (check_col(pinfo->cinfo, COL_INFO)) { /* XXX - is this really a string? */ |