git: usr.sbin/makefs/hammer2: Fix -Wunused-but-set-variable warnings on Linux

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Sun Jun 18 03:07:38 PDT 2023


commit 4fe5868fa32487c95ba2e8c844125b91b9843b06
Author: Tomohiro Kusumi <tkusumi at netbsd.org>
Date:   Sun Jun 18 02:45:12 2023 -0700

    usr.sbin/makefs/hammer2: Fix -Wunused-but-set-variable warnings on Linux
    
    Local variables *iroot and lhc are set but never used.
    Also fix sys/vfs/hammer2/hammer2_ioctl.c which is basically the same file.
    
    Also remove "Get the clid" comment in the next line which didn't make
    sense since 6f445d15835c6677a0a79c8d168ef44d0b9b22c3 in 2018.

Summary of changes:
 sys/vfs/hammer2/hammer2_ioctl.c         | 8 --------
 usr.sbin/makefs/hammer2/hammer2_ioctl.c | 8 --------
 2 files changed, 16 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4fe5868fa32487c95ba2e8c844125b91b9843b06


-- 
DragonFly BSD source repository


More information about the Commits mailing list