usr.sbin/makefs/hammer2: Fix -Wunused-but-set-variable warnings on Linux
authorTomohiro Kusumi <tkusumi@netbsd.org>
Sun, 18 Jun 2023 09:45:12 +0000 (02:45 -0700)
committerTomohiro Kusumi <tkusumi@netbsd.org>
Sun, 18 Jun 2023 09:58:51 +0000 (02:58 -0700)
commit4fe5868fa32487c95ba2e8c844125b91b9843b06
tree2638b1ab31744e5332a2a2d112381959eb02bfe2
parent465e1141fcc3778800d5284f9dcb9b8c4873a9ac
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.
sys/vfs/hammer2/hammer2_ioctl.c
usr.sbin/makefs/hammer2/hammer2_ioctl.c