OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_68-58-g4d6d786
Gerrit Code Review
gerrit@openafs.org
Thu, 31 Dec 2009 05:11:15 -0800 (PST)
The following commit has been merged in the master branch:
commit 4d6d7866689a2c005a055c580b8a54d7c9412386
Author: Russ Allbery <rra@stanford.edu>
Date: Wed Dec 30 16:22:37 2009 -0800
Remove warnings from supergroups code on x86
Prototype functions where necessary, remove unused variables, fix
mismatches of data types (char * != void *), initialize variables the
compiler can't tell are initialized, compare integers against 0 and
not NULL, and wrap assignments used as conditions in an explicit
comparison.
This removes all warnings that fail --enable-checking on x86 with
--enable-supergroups. 64-bit will still have warnings.
Change-Id: I5ab6e317a280bea29cb44b97f2805a00e387577f
Reviewed-on: http://gerrit.openafs.org/1050
Tested-by: Russ Allbery <rra@stanford.edu>
Reviewed-by: Simon Wilkinson <sxw@inf.ed.ac.uk>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/ptserver/db_verify.c | 7 +++----
src/ptserver/map.c | 1 +
src/ptserver/ptprocs.c | 2 +-
src/ptserver/ptprototypes.h | 11 +++++++++++
src/ptserver/ptutils.c | 14 ++++++++------
5 files changed, 24 insertions(+), 11 deletions(-)
--
OpenAFS Master Repository