git: sbin/newfs_hammer: Cleanup blocks with a single statement

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Sun Apr 9 11:51:15 PDT 2017


commit 46689eca8a09cfe7b1c83f9db32e528e29b1f168
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Sun Apr 9 03:05:29 2017 +0300

    sbin/newfs_hammer: Cleanup blocks with a single statement
    
    This commit basically does the same as what Linux kernel's coding
    style mentions for braces, which is basically the same with BSDs.
    https://github.com/torvalds/linux/blob/master/Documentation/process/coding-style.rst#3-placing-braces-and-spaces
    
    No diff in sbin/newfs_hammer/newfs_hammer binary when assert(3)
    is disabled.

Summary of changes:
 sbin/newfs_hammer/newfs_hammer.c | 63 ++++++++++++++--------------------------
 1 file changed, 21 insertions(+), 42 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/46689eca8a09cfe7b1c83f9db32e528e29b1f168


-- 
DragonFly BSD source repository



More information about the Commits mailing list