OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-2323-g4e68282
Gerrit Code Review
gerrit@openafs.org
Sun, 8 Apr 2012 18:17:03 -0700 (PDT)
The following commit has been merged in the master branch:
commit 6d83b33324b68389d0cb8fee73f3bf3a06e9abe5
Author: Simon Wilkinson <sxw@your-file-system.com>
Date: Fri Mar 30 19:34:53 2012 +0100
viced: Remove pointless braces
Doing if ((a==b)) is unecessary. It's also potentially dangerous, as
that's the syntax required to do assignment within an if statement.
clang now issues warnings (errors in -Werror mode) when it encounters
these.
Remove pointless braces from viced to make clang happy.
Change-Id: Iee8c1d60cc2296fefd0e7f82127821dcefb931ec
Reviewed-on: http://gerrit.openafs.org/7085
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
src/viced/afsfileprocs.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
--
OpenAFS Master Repository