vol: Remove unneeded braces
authorSimon Wilkinson <sxw@your-file-system.com>
Fri, 30 Mar 2012 18:30:18 +0000 (19:30 +0100)
committerDerrick Brashear <shadow@dementix.org>
Sun, 8 Apr 2012 01:29:51 +0000 (18:29 -0700)
commit58be19d792e6b8e93fbd49bc4ef04bbb8f4560ef
tree80a8c981ffb5bb67d18932213abb9dadad94dab6
parenta0af50a9dcab6935ad7701b81e76cab750633615
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