OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-2542-g9efc255

Gerrit Code Review gerrit@openafs.org
Thu, 24 May 2012 08:51:49 -0700 (PDT)


The following commit has been merged in the master branch:
commit d142c8f97afb5bb3e1bb5bd31a53ed1dade2fd3b
Author: Simon Wilkinson <sxw@your-file-system.com>
Date:   Wed May 16 20:38:02 2012 +0100

    Don't cast arguments to free()
    
    free(3) is defined as:
    
        void free(void *ptr);
    
    so there is no need to cast the pointer argument being past to it to
    (char *), (void *), or whatever other randomness happened to be floating
    through the author's mind. Remove all such casts, as they are just
    noise.
    
    Change-Id: Ib7c8c259d53e9ce74fc486cb0997360044795395
    Reviewed-on: http://gerrit.openafs.org/7453
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Derrick Brashear <shadow@dementix.org>

 src/auth/cellconfig.c      |    6 +++---
 src/bucoord/commands.c     |    4 ++--
 src/budb/server.c          |    2 +-
 src/libadmin/cfg/cfgdb.c   |    4 ++--
 src/libadmin/cfg/cfghost.c |    4 ++--
 src/lwp/lwp_nt.c           |    6 +++---
 src/lwp/test/selsubs.c     |    2 +-
 src/ptserver/map.c         |   12 ++++++------
 src/ptserver/pts.c         |    2 +-
 src/util/readdir_nt.c      |    2 +-
 src/vfsck/inode.c          |    6 +++---
 src/vfsck/main.c           |    2 +-
 src/vfsck/pass4.c          |    4 ++--
 src/vfsck/utilities.c      |    2 +-
 src/viced/host.c           |    2 +-
 src/vlserver/vlclient.c    |   16 ++++++++--------
 src/vlserver/vlprocs.c     |    2 +-
 src/vol/listinodes.c       |    4 ++--
 src/vol/volume.c           |    2 +-
 src/volser/dumpstuff.c     |    4 ++--
 20 files changed, 44 insertions(+), 44 deletions(-)

-- 
OpenAFS Master Repository