Skip to content

Declare variables at first assignment - #1

Merged
chrisbazley merged 1 commit into
mainfrom
initialise-variables-at-first-assignment
Sep 21, 2026
Merged

chrisbazley merged 1 commit into
mainfrom
initialise-variables-at-first-assignment

Conversation

@chrisbazley

Copy link
Copy Markdown
Owner

Summary

  • declare local variables with initialisers at their first assignment where the narrower scope still covers every later reference
  • remove the now-redundant standalone declarations and assignments
  • update file history entries where present

Validation

  • CMake build succeeded; the GKeyTests suite passed
  • git diff --check passed

@chrisbazley
chrisbazley merged commit ac7689a into main Sep 21, 2026
8 checks passed
@chrisbazley
chrisbazley deleted the initialise-variables-at-first-assignment branch September 21, 2026 11:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant