criu/test/others/mounts
Adrian Reber abc9b4b1c1 test: fix unused variable warnings reported by CodeQL
Fix four "unused local/global variable" alerts reported by CodeQL:

- zdtm.py: drop unused assignment to print_next in the tail-printing
  loop at the end of grep_errors(). The return value of print_error()
  is not needed here since no further iterations follow.

- crit-recode.py: remove duplicate pycriu.images.dumps(pb) call
  inside the except handler. The same call just raised the exception,
  so re-executing it would raise again and prevent the error message
  from being printed.

- exhaustive/unix.py: drop unused msg variable. The recv() call is
  used for its blocking side effect to synchronize with the parent,
  the received data is not needed.

- others/mounts/mounts.py: rename unused loop variable i to _ in
  the range(10) iteration.

Assisted-by: Claude Code (claude-opus-4-6):claude-opus-4-6@default
Signed-off-by: Adrian Reber <areber@redhat.com>
2026-06-12 09:58:15 +01:00
..
ext Run 'make indent' on all C files 2021-09-03 10:31:00 -07:00
mounts.py test: fix unused variable warnings reported by CodeQL 2026-06-12 09:58:15 +01:00
mounts.sh make: remove checks for python 2 binary 2023-10-22 13:29:25 -07:00
run.sh Optimized shell code with <'s (instead of cat + |) 2023-04-15 21:17:21 -07:00