viced: Remove pointless braces
authorSimon Wilkinson <sxw@your-file-system.com>
Fri, 30 Mar 2012 18:34:53 +0000 (19:34 +0100)
committerDerrick Brashear <shadow@dementix.org>
Mon, 9 Apr 2012 01:16:12 +0000 (18:16 -0700)
commit6d83b33324b68389d0cb8fee73f3bf3a06e9abe5
treeb6782770d3d2c0c78d32983f2643d59de47bf0fd
parent350b5d58779cc127b96497283c2d982e099b911c
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