OpenAFS Master Repository branch, openafs-stable-1_8_x, updated. openafs-stable-1_8_0-62-g47694e2
Gerrit Code Review
gerrit@openafs.org
Fri, 8 Jun 2018 08:47:27 -0400
The following commit has been merged in the openafs-stable-1_8_x branch:
commit 47694e2976034cef094be5f0b5d0fd0c5bc16893
Author: Pat Riehecky <riehecky@fnal.gov>
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 <buildbot@rampaginggeek.com>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
(cherry picked from commit a411366f57dcf39cc17b6d61d8332e520dff57d1)
Change-Id: I9243105d75878487ec965070d3946e8d683f264b
Reviewed-on: https://gerrit.openafs.org/13149
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: PatRiehecky <jcpunk@gmail.com>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
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