Bug #8392

Do not cast the return value of xdr_free()

Added by Marcel Telka 4 months ago. Updated 4 months ago.

Status:ClosedStart date:2017-06-14
Priority:LowDue date:
Assignee:Marcel Telka% Done:

100%

Category:nfs - NFS server and client
Target version:-
Difficulty:Bite-size Tags:needs-triage

Description

The xdr_free() function returns void so we do not need to cast its return value using the cast operator (void).

History

#2 Updated by Marcel Telka 4 months ago

  • Status changed from In Progress to Pending RTI

#3 Updated by Electric Monk 4 months ago

  • % Done changed from 0 to 100
  • Status changed from Pending RTI to Closed

git commit a17ce84520dc4e972c913e0fa1d1545ddd22b55e

commit  a17ce84520dc4e972c913e0fa1d1545ddd22b55e
Author: Marcel Telka <marcel@telka.sk>
Date:   2017-06-19T17:09:11.000Z

    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>

Also available in: Atom