git: sbin/mount_hammer: Partly bring back removed braces from a90e74c5

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


commit 34be98df296fdcce1a6c3b53ad21cf271b2c55e4
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Mon Apr 10 19:46:21 2017 +0300

    sbin/mount_hammer: Partly bring back removed braces from a90e74c5
    
    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/mount_hammer/mount_hammer.c | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/34be98df296fdcce1a6c3b53ad21cf271b2c55e4


-- 
DragonFly BSD source repository



More information about the Commits mailing list