aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-pvfs2.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2012-06-04 22:26:40 +0000
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2012-06-04 22:26:40 +0000
commit42451447b1a12a550dc3000eae5012be01bb0cf2 (patch)
tree450b76072c46c79734e265627f394d12ac81c9f5 /epan/dissectors/packet-pvfs2.c
parente2cec4bb6364c6625113be394a1b081169f8ec67 (diff)
Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=43091
Diffstat (limited to 'epan/dissectors/packet-pvfs2.c')
-rw-r--r--epan/dissectors/packet-pvfs2.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-pvfs2.c b/epan/dissectors/packet-pvfs2.c
index 3076e90bc5..13ad273497 100644
--- a/epan/dissectors/packet-pvfs2.c
+++ b/epan/dissectors/packet-pvfs2.c
@@ -1576,7 +1576,7 @@ dissect_pvfs2_io_request(tvbuff_t *tvb, proto_tree *tree, int offset,
/* */
offset += 4;
- offset = dissect_pvfs_pint_request(tvb, tree, offset);
+ /*offset = */dissect_pvfs_pint_request(tvb, tree, offset);
/* TODO: remove this!!! */
offset = tvb_length(tvb) - 16;
@@ -3205,7 +3205,7 @@ dissect_pvfs_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree,
if (mode == TCP_MODE_UNEXP)
{
/* Request */
- offset = dissect_pvfs2_request(tvb, pvfs_tree, offset, pinfo, server_op);
+ /*offset = */dissect_pvfs2_request(tvb, pvfs_tree, offset, pinfo, server_op);
}
else
{
@@ -3224,7 +3224,7 @@ dissect_pvfs_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree,
#endif
{
/* Response */
- offset = dissect_pvfs2_response(tvb, pvfs_tree, offset, pinfo,
+ /*offset = */dissect_pvfs2_response(tvb, pvfs_tree, offset, pinfo,
server_op);
}
}