OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-2550-g4d96d0d

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


The following commit has been merged in the master branch:
commit 4d96d0d5e4f21e208be60df53216ff7b113f4b87
Author: Simon Wilkinson <sxw@your-file-system.com>
Date:   Thu May 17 12:21:57 2012 +0100

    libadmin & uss: Don't cast returns from malloc()
    
    malloc() returns a (void *) on all of our current platforms. So,
    don't bother casting the return value before assigning it - it's
    unecessary noise.
    
    Change-Id: I9a3387c07c6ee02efbaa1ec0035fcea8691f171c
    Reviewed-on: http://gerrit.openafs.org/7462
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Derrick Brashear <shadow@dementix.org>

 src/libadmin/adminutil/afs_utilAdmin.c |   24 +++++++++++-------------
 src/libadmin/bos/afs_bosAdmin.c        |   30 ++++++++++++------------------
 src/libadmin/cfg/cfgdb.c               |   15 +++++++--------
 src/libadmin/cfg/cfghost.c             |    4 ++--
 src/libadmin/cfg/cfginternal.c         |    3 +--
 src/libadmin/cfg/cfgservers.c          |    6 +++---
 src/libadmin/client/afs_clientAdmin.c  |    7 +++----
 src/libadmin/kas/afs_kasAdmin.c        |    8 +++-----
 src/libadmin/pts/afs_ptsAdmin.c        |   18 +++++++-----------
 src/libadmin/test/bos.c                |    2 +-
 src/libadmin/vos/afs_vosAdmin.c        |   17 ++++++-----------
 src/libadmin/vos/vosutils.c            |    2 +-
 src/libadmin/vos/vsprocs.c             |    6 +++---
 src/uss/uss.c                          |    4 ++--
 src/uss/uss_acl.c                      |   10 +++++-----
 src/uss/uss_fs.c                       |    3 +--
 src/uss/uss_procs.c                    |    2 +-
 src/uss/uss_vol.c                      |    4 ++--
 18 files changed, 71 insertions(+), 94 deletions(-)

-- 
OpenAFS Master Repository