Unix CM: Purge needless brackets
authorSimon Wilkinson <sxw@your-file-system.com>
Fri, 30 Mar 2012 18:12:37 +0000 (19:12 +0100)
committerDerrick Brashear <shadow@dementix.org>
Sat, 7 Apr 2012 12:06:22 +0000 (05:06 -0700)
commit345656ec140f0156f2076629bdfc84940c02160b
treef230fd38690197272188a845d4d35e8ac77bdb69
parent1d8937b860509fcaabb041bc14faf7aa3023f3c9
Unix CM: Purge needless brackets

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 the Unix CM to make clang happy.

Change-Id: I0f1558b42a487e1de722b77f8423500365a20eee
Reviewed-on: http://gerrit.openafs.org/7074
Reviewed-by: Derrick Brashear <shadow@dementix.org>
Tested-by: Derrick Brashear <shadow@dementix.org>
src/afs/afs_osidnlc.c