git: sbin/hammer: Refactor get_elm_flags()/print_btree_elm() [2/2]

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Thu Sep 24 07:46:37 PDT 2015


commit 400b9ca8e387da27536d11124df3bd011aac75ca
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Tue Sep 22 17:38:50 2015 +0900

    sbin/hammer: Refactor get_elm_flags()/print_btree_elm() [2/2]
    
    Call get_elm_flags() from print_btree_elm(). The elm flag
    is used and only used when printing elm. This makes things
    clear without passing the flag from one function to another.
    
    No functional changes.

Summary of changes:
 sbin/hammer/cmd_show.c | 33 ++++++++++++++++++++-------------
 1 file changed, 20 insertions(+), 13 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/400b9ca8e387da27536d11124df3bd011aac75ca


-- 
DragonFly BSD source repository



More information about the Commits mailing list