git: sbin/newfs_hammer: Partly bring back removed braces from 46689eca

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Mon Apr 10 14:51:35 PDT 2017


commit 6758745fd5e06de246cf7718e7ebb60d03cc62ba
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Mon Apr 10 19:53:20 2017 +0300

    sbin/newfs_hammer: Partly bring back removed braces from 46689eca
    
    based on comments from dillon at .
    
    (dillon) three types, yah.  (1) multi-line condition in if(), (2) if TRUE or FALSE body spans more than one line, put braces around both
    (dillon) (including if a comment is part of the body)

Summary of changes:
 sbin/newfs_hammer/newfs_hammer.c | 60 ++++++++++++++++++++++++++--------------
 1 file changed, 40 insertions(+), 20 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6758745fd5e06de246cf7718e7ebb60d03cc62ba


-- 
DragonFly BSD source repository


More information about the Commits mailing list