The following commit has been merged in the openafs-stable-1_8_x branch:
commit 47694e2976034cef094be5f0b5d0fd0c5bc16893
Author: Pat Riehecky <[email protected]>
Date:   Wed May 23 15:50:45 2018 -0500

    Add braces to empty conditional blocks
    
    GCC 7+ is able to quickly optimize away empty if/else blocks if the braces 
are
    provided.  While this adds some additional syntax, it should also result
    in faster optimization, so change our empty blocks after conditionals to use
    braces.
    
    FIXES 134377
    
    Reviewed-on: https://gerrit.openafs.org/13081
    Tested-by: BuildBot <[email protected]>
    Reviewed-by: Andrew Deason <[email protected]>
    Reviewed-by: Benjamin Kaduk <[email protected]>
    (cherry picked from commit a411366f57dcf39cc17b6d61d8332e520dff57d1)
    
    Change-Id: I9243105d75878487ec965070d3946e8d683f264b
    Reviewed-on: https://gerrit.openafs.org/13149
    Tested-by: BuildBot <[email protected]>
    Reviewed-by: PatRiehecky <[email protected]>
    Reviewed-by: Benjamin Kaduk <[email protected]>

 src/aklog/aklog.c    |    5 +++--
 src/auth/ktc.c       |    5 +++--
 src/butm/file_tm.c   |   20 ++++++++++++--------
 src/rx/rx_rdwr.c     |    4 +++-
 src/rx/rx_trace.c    |    5 +++--
 src/util/serverLog.c |   15 +++++++++------
 src/viced/viced.c    |    5 +++--
 src/volser/vsprocs.c |   20 ++++++++++++--------
 8 files changed, 48 insertions(+), 31 deletions(-)

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

Reply via email to