OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-2316-g58be19d
Gerrit Code Review
gerrit@openafs.org
Sat, 7 Apr 2012 18:31:07 -0700 (PDT)
The following commit has been merged in the master branch:
commit 58be19d792e6b8e93fbd49bc4ef04bbb8f4560ef
Author: Simon Wilkinson <sxw@your-file-system.com>
Date: Fri Mar 30 19:30:18 2012 +0100
vol: Remove unneeded 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 vol to make clang happy.
Change-Id: I805c52fd76de4d028741ae4382b747917581d2f2
Reviewed-on: http://gerrit.openafs.org/7082
Reviewed-by: Derrick Brashear <shadow@dementix.org>
Tested-by: Derrick Brashear <shadow@dementix.org>
src/vol/volume.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
--
OpenAFS Master Repository