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

    viced: Remove pointless 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 viced to make clang happy.
    
    Reviewed-on: http://gerrit.openafs.org/7085
    Tested-by: BuildBot <[email protected]>
    Reviewed-by: Derrick Brashear <[email protected]>
    (cherry picked from commit 6d83b33324b68389d0cb8fee73f3bf3a06e9abe5)
    
    Change-Id: Ied4eb404108e7d8384cc394d5f5e65a04beb17dc
    Reviewed-on: http://gerrit.openafs.org/10747
    Reviewed-by: D Brashear <[email protected]>
    Reviewed-by: Andrew Deason <[email protected]>
    Reviewed-by: Stephan Wiesand <[email protected]>
    Tested-by: BuildBot <[email protected]>

 src/viced/afsfileprocs.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

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

Reply via email to