rx: Remove needless braces
authorSimon Wilkinson <sxw@your-file-system.com>
Fri, 30 Mar 2012 18:39:51 +0000 (19:39 +0100)
committerDerrick Brashear <shadow@dementix.org>
Mon, 9 Apr 2012 01:17:16 +0000 (18:17 -0700)
commit5e107724f3661254cfdb693ae2d4d1c5238eba7d
treefd854bc540aab577242dc0bda1c271c6fd888454
parent438d6ba63cda7d7484c545a4fd181803e84d68eb
rx: Remove needless 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 the Unix CM to make clang happy.

Change-Id: I031db80c3f85c0e4c4db365b1c36b5d4b4a7cb48
Reviewed-on: http://gerrit.openafs.org/7088
Tested-by: Simon Wilkinson <simonxwilkinson@gmail.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
src/rx/rx_user.c