git: sbin/hammer: Add /* not reached */ for usage() variants

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Tue Apr 11 15:37:41 PDT 2017


commit 88cdee70b9d467aa0dffa5f24852b83db8c385ef
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Tue Apr 11 23:51:35 2017 +0300

    sbin/hammer: Add /* not reached */ for usage() variants
    
    that were originally missing.
    Recommended by dillon at .
    No diff in sbin/hammer binary when assert(3) is disabled.

Summary of changes:
 sbin/hammer/cmd_dedup.c     |  8 ++++++--
 sbin/hammer/cmd_mirror.c    | 18 +++++++++++++-----
 sbin/hammer/cmd_pfs.c       | 20 +++++++++++++++-----
 sbin/hammer/cmd_rebalance.c |  8 ++++++--
 sbin/hammer/cmd_reblock.c   |  8 ++++++--
 sbin/hammer/cmd_softprune.c | 12 +++++++++---
 sbin/hammer/cmd_synctid.c   | 10 +++++++---
 sbin/hammer/hammer.c        | 30 +++++++++++++++++++++++-------
 8 files changed, 85 insertions(+), 29 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/88cdee70b9d467aa0dffa5f24852b83db8c385ef


-- 
DragonFly BSD source repository


More information about the Commits mailing list