Skip to content

Comments

Fixes warnings due to uninitialized class members#175

Merged
brenocq merged 1 commit intobrenocq:mainfrom
HunterBelanger:fix/uninitialized_warnings
Feb 20, 2026
Merged

Fixes warnings due to uninitialized class members#175
brenocq merged 1 commit intobrenocq:mainfrom
HunterBelanger:fix/uninitialized_warnings

Conversation

@HunterBelanger
Copy link
Contributor

With GCC 15.2.1, I recently encountered several warnings while building the project in my library related to the Min and Max members of RendererSurfaceFill not being initialized. I simply initialized these a zero in the constructor initializer list to silence the warnings, which shouldn't be any worse than leaving them uninitialized.

@github-actions github-actions bot added the status:review The task is under review label Feb 19, 2026
Copy link
Owner

@brenocq brenocq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @HunterBelanger!

@brenocq brenocq merged commit 030297c into brenocq:main Feb 20, 2026
5 checks passed
@github-actions github-actions bot added status:done Task completed successfully and removed status:review The task is under review labels Feb 20, 2026
@HunterBelanger HunterBelanger deleted the fix/uninitialized_warnings branch February 22, 2026 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status:done Task completed successfully

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants