mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-17 16:47:50 +00:00
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> |
||
|---|---|---|
| .. | ||
| ext | ||
| mounts.py | ||
| mounts.sh | ||
| run.sh | ||