The following commit has been merged in the openafs-stable-1_6_x branch:
commit 0bb974222e31a7e7cfea1e2c1b15f542b99dbf99
Author: Simon Wilkinson <[email protected]>
Date:   Fri Mar 30 19:24:23 2012 +0100

    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.
    
    Reviewed-on: http://gerrit.openafs.org/7080
    Reviewed-by: Derrick Brashear <[email protected]>
    Tested-by: Derrick Brashear <[email protected]>
    (cherry picked from commit 4d4e4dde7c0efcf238251b1ea1dc3933810062d0)
    
    Change-Id: I4aad6766fc759895c8bffc16dde06169589f64ba
    Reviewed-on: http://gerrit.openafs.org/10737
    Tested-by: BuildBot <[email protected]>
    Reviewed-by: Derrick Brashear <[email protected]>
    Reviewed-by: Andrew Deason <[email protected]>
    Reviewed-by: Stephan Wiesand <[email protected]>

 src/ptserver/pts.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

-- 
OpenAFS Master Repository
_______________________________________________
OpenAFS-cvs mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-cvs

Reply via email to