diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2011-04-18 15:29:25 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2011-04-18 15:29:25 +0000 |
commit | 27344a90fe253957564b04d6eb5c1deb99259400 (patch) | |
tree | cbd6c44518c211ecb2d1c12783f503aa91c1c158 /epan/dissectors/packet-nfs.c | |
parent | 9739656c717343913a8c519e435434b35de8bb61 (diff) | |
download | wireshark-27344a90fe253957564b04d6eb5c1deb99259400.tar.gz |
Removed some unneeded assignments.
Found by clang.
svn path=/trunk/; revision=36698
Diffstat (limited to 'epan/dissectors/packet-nfs.c')
-rw-r--r-- | epan/dissectors/packet-nfs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-nfs.c b/epan/dissectors/packet-nfs.c index d58d4fb1fe..4a605d07ff 100644 --- a/epan/dissectors/packet-nfs.c +++ b/epan/dissectors/packet-nfs.c @@ -4923,7 +4923,7 @@ dissect_access_reply(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree* acc_req = civ->private_data; /* Should never happen because ONC-RPC requires the call in order to dissect the reply. */ if (acc_req==NULL) { - return offset+=4; + return offset+4; } if(nfsv4) { acc_supp = tvb_get_ntohl(tvb, offset+0); @@ -4967,7 +4967,7 @@ dissect_access_reply(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree* offset, 4, (mask_denied > 0 ? TRUE : FALSE )); PROTO_ITEM_SET_GENERATED(ditem); - return offset+=4; + return offset+4; } /* RFC 1813, Page 40..43 */ |