ptserver: Remove redundant braces
authorSimon Wilkinson <sxw@your-file-system.com>
Fri, 30 Mar 2012 18:24:23 +0000 (19:24 +0100)
committerDerrick Brashear <shadow@dementix.org>
Sun, 8 Apr 2012 01:28:06 +0000 (18:28 -0700)
commit4d4e4dde7c0efcf238251b1ea1dc3933810062d0
treeeecf18d137834205beb0ceba789aed9557636266
parent10a02e70c38c5ccb23f95f0990643230b9709ca5
ptserver: Remove redundant 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 ptserver to make clang happy.

Change-Id: I1bf1698b1d12f8228e0456d3d2dff4439879cfba
Reviewed-on: http://gerrit.openafs.org/7080
Reviewed-by: Derrick Brashear <shadow@dementix.org>
Tested-by: Derrick Brashear <shadow@dementix.org>
src/ptserver/pts.c