mirror_zfs/cmd/zed
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
..
agents zed: Ensure spare activation after kernel-initiated device removal 2025-03-28 15:48:38 -04:00
zed.d Fixed zfs_notify_email for programs like sendmail 2025-04-12 11:58:19 -04:00
.gitignore Initial implementation of zed (ZFS Event Daemon) 2014-04-02 13:10:03 -07:00
Makefile.am Replace EXTRA_DIST with dist_noinst_DATA 2022-05-26 09:24:50 -07:00
zed_conf.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
zed_conf.h SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
zed_disk_event.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
zed_disk_event.h SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
zed_event.c everywhere: misc unnecessary var init/update 2025-07-22 15:23:58 -07:00
zed_event.h SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
zed_exec.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
zed_exec.h SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
zed_file.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
zed_file.h SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
zed_log.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
zed_log.h SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
zed_strings.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
zed_strings.h SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
zed.c SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
zed.h SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00