8392 Do not cast the return value of xdr_free()
Review Request #586 - Created June 15, 2017 and submitted
Information | |
---|---|
Marcel Telka | |
illumos-gate | |
master | |
8392 | |
1fa822a... | |
Reviewers | |
general | |
This removes the cast operator (void) from all xdr_free() calls. The xdr_free() function returns void so no casting is needed.
I confirmed using wsdiff(1onbld) that changes in the deliverables are only the well known false positives (like #729).
Thanks for fixing some of the formatting too.
Ship It!
Review request changed
Status: Closed (submitted)
Change Summary:
commit a17ce84520dc4e972c913e0fa1d1545ddd22b55e Author: Marcel Telka <marcel@telka.sk> AuthorDate: Wed Jun 14 17:20:42 2017 +0200 Commit: Richard Lowe <richlowe@richlowe.net> CommitDate: Mon Jun 19 13:09:11 2017 -0400 8392 Do not cast the return value of xdr_free() Reviewed by: Andrew Stormont <andyjstormont@gmail.com> Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Richard Lowe <richlowe@richlowe.net> :100644 100644 b1dcbe3... 7386ada... M usr/src/cmd/idmap/idmapd/adspriv_impl.c :100644 100644 e27690a... 10b6486... M usr/src/cmd/idmap/idmapd/server.c :100644 100644 ddfefc3... 54ee78b... M usr/src/lib/libidmap/common/idmap_api.c :100644 100644 8dd4a7e... bcae8b6... M usr/src/lib/libidmap/common/idmap_impl.h :100644 100644 d61c5fd... 729c865... M usr/src/uts/common/fs/nfs/nfs4_callback.c :100644 100644 3d231c7... 1734853... M usr/src/uts/common/fs/nfs/nfs4_client.c :100644 100644 ed2c2c1... a9bfca9... M usr/src/uts/common/fs/nfs/nfs4_client_secinfo.c :100644 100644 d8e79a9... 8b08258... M usr/src/uts/common/fs/nfs/nfs4_client_state.c :100644 100644 445a6d2... bb3f1bd... M usr/src/uts/common/fs/nfs/nfs4_srv_deleg.c :100644 100644 c937257... de0d81d... M usr/src/uts/common/fs/nfs/nfs4_stub_vnops.c :100644 100644 991217f... ec5fda5... M usr/src/uts/common/fs/nfs/nfs4_subr.c :100644 100644 151cb62... 8efaf20... M usr/src/uts/common/fs/nfs/nfs4_vfsops.c :100644 100644 4924385... 4112cbe... M usr/src/uts/common/fs/nfs/nfs4_vnops.c