Refactor: Localize variable
Refactor: Localize variable
Refactor: Localize variable
Refactor: Replace magic number with symbolic constant
Refactor: Inline macro
Refactor: Replace memory aliasing with struct