Story: Hotfix: remaining CMake 4.4 uninitialized-variable warnings

Table of Contents

This page documents a story in Sprint 24. It captures the goal, current status, acceptance criteria, and the tasks that compose it.

Goal

Fix the four remaining CMake 4.4.0 uninitialized-variable warnings surfaced while fixing PR #1664's vcpkg-toolchain batch, but out of scope for that PR: two genuine use-before-define bugs in our own CMake code (SPRINT, flags), one dead-variable reference (DOGEN_VERSION), and CPack/InstallRequiredSystemLibraries vendored- module noise.

Status

Field Value
State DONE
Parent sprint Sprint 24
Now Nothing.
Waiting on Nothing.
Next Nothing.
Last touched 2026-07-22

Acceptance

  • All four warnings fixed or suppressed at the source; verified against a real CMake 4.4.0 binary (clean configure, zero uninitialized warnings).
  • Full local build and ctest pass under CMake 4.3.4 (no regressions).

Tasks

Task State Start End Description
Scaffold story: Hotfix: remaining CMake 4.4 uninitialized-variable warnings DONE 2026-07-22 2026-07-22 Story scaffolding rides this task: documents, sprint wiring, and the scaffold PR. Close it before merging that PR.
Implement Hotfix: remaining CMake 4.4 uninitialized-variable warnings DONE 2026-07-22 2026-07-22 Initial task for: Hotfix: remaining CMake 4.4 uninitialized-variable warnings

Decisions

  • Scaffold and implementation landed together in a single PR/commit set (the scaffold docs were never separately committed before work started), rather than as two sequential PRs — reasonable for a hotfix this small.
  • Removed the SPRINT CACHE variable entirely rather than bumping its stale default to 24: compass sprint charts already auto-detects the current sprint when --sprint is omitted (see cmd_sprint_charts in compass.py), so the CMake-side override was redundant and would just go stale again next sprint.

Out of scope

Emacs 29.3 (Org mode 9.6.15)