]> Projects (at) Tadryanom (dot) Me - AdrOS.git/commit
cppcheck: fix unreadVariable in elf.c and sync.c
authorTulio A M Mendes <[email protected]>
Mon, 27 Apr 2026 01:59:00 +0000 (22:59 -0300)
committerTulio A M Mendes <[email protected]>
Mon, 27 Apr 2026 01:59:00 +0000 (22:59 -0300)
commit7306d074e6964ac55bc00bf304ed3903e9b75de5
tree01ed11c2f58bfba2ef53e38a8ec2d4118cfff5ee
parent02ac07bd1996cf5734192157988284acc5cc0528
cppcheck: fix unreadVariable in elf.c and sync.c

- elf.c: remove dead seg_vmm_flags computation from elf32_load_segments
  (re-protection is done by elf32_reprotect_segments after relocations)
- sync.c: eliminate unused deadline variable, inline into wake_at_tick

Tests: 120/120 QEMU, 33/33 battery, 69/69 host
src/arch/x86/elf.c
src/kernel/sync.c