OpenAFS Master Repository branch, openafs-stable-1_6_x, updated. openafs-stable-1_6_6-24-gea6e7d7
Gerrit Code Review
gerrit@openafs.org
Wed, 12 Feb 2014 08:52:49 -0800 (PST)
The following commit has been merged in the openafs-stable-1_6_x branch:
commit ea6e7d76ebc696cc1a18246fc535cae3e76656d0
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.
Reviewed-on: http://gerrit.openafs.org/7085
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
(cherry picked from commit 6d83b33324b68389d0cb8fee73f3bf3a06e9abe5)
Change-Id: Ied4eb404108e7d8384cc394d5f5e65a04beb17dc
Reviewed-on: http://gerrit.openafs.org/10747
Reviewed-by: D Brashear <shadow@your-file-system.com>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
src/viced/afsfileprocs.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
--
OpenAFS Master Repository