mirror_zfs/tests/zfs-tests/cmd
Rob Norris bf38c15071 everywhere: misc unnecessary var init/update
These are all cases where we initialise or update a variable, and then
never use it. None of them particularly matter, as the compiler should
optimise them all away during dead store elimination, but some static
analysers complain about them and they are extra work for casual readers
to follow, so worth removing.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Signed-off-by: Rob Norris <robn@despairlabs.com>
Sponsored-by: https://despairlabs.com/sponsor/
Closes #17551
2025-07-22 15:23:58 -07:00
..
checksum SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
file FreeBSD: Add posix_fadvise(POSIX_FADV_WILLNEED) support 2025-05-29 09:34:07 -04:00
linux_dos_attributes SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
.gitignore Linux/vnops: implement STATX_DIOALIGN 2025-03-13 13:15:14 -04:00
badsend.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
btree_test.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
chg_usr_exec.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
clone_mmap_cached.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
clone_mmap_write.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
clonefile.c Multiple printf() size fixes (#17199) 2025-04-01 15:27:03 -07:00
cp_files.c tests: move C test helpers into test cmd 2022-04-01 18:01:39 -07:00
crypto_test.c ZTS: ICP encryption tests 2025-02-25 17:29:57 -08:00
ctime.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
devname2devid.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
dir_rd_update.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
dosmode_readonly_write.c FreeBSD: Reduce divergence from in-tree sources 2023-10-09 13:27:18 -07:00
draid.c test/draid: fix error return 2025-07-22 15:23:47 -07:00
ereports.c events: include zio type in IO error reports 2025-05-30 10:29:29 -04:00
get_diff.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
getversion.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
idmap_util.c everywhere: misc unnecessary var init/update 2025-07-22 15:23:58 -07:00
libzfs_input_check.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
Makefile.am FreeBSD: Add posix_fadvise(POSIX_FADV_WILLNEED) support 2025-05-29 09:34:07 -04:00
manipulate_user_buffer.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
mkbusy.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
mkfile.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
mkfiles.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
mktree.c everywhere: misc unnecessary var init/update 2025-07-22 15:23:58 -07:00
mmap_exec.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
mmap_libaio.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
mmap_seek.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
mmap_sync.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
mmapwrite.c everywhere: misc unnecessary var init/update 2025-07-22 15:23:58 -07:00
nvlist_to_lua.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
readmmap.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
rename_dir.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
renameat2.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
rm_lnkcnt_zero_file.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
send_doall.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
statx.c tests: fix S_IFMT undeclared at statx.c 2025-05-02 17:49:25 -04:00
stride_dd.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
suid_write_to_file.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
threadsappend.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
truncate_test.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
user_ns_exec.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
xattrtest.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
zed_fd_spill-zedlet.c Miscellaneous ZTS fixes 2022-09-29 08:56:42 -07:00
zfs_diff-socket.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00