Skip to content

Zero initialize local variables#5501

Merged
dneto0 merged 1 commit intoKhronosGroup:mainfrom
ben-clayton:zero-init-vars
Dec 11, 2023
Merged

Zero initialize local variables#5501
dneto0 merged 1 commit intoKhronosGroup:mainfrom
ben-clayton:zero-init-vars

Conversation

@ben-clayton
Copy link
Copy Markdown
Contributor

Certain versions of GCC warn about these variables being potentially uninitialized when used. I believe this is a false-positive, but zero-init'ing them is a safe way to fix this.

Certain versions of GCC warn about these variables being potentially uninitialized when used.
I believe this is a false-positive, but zero-init'ing them is a safe way to fix this.
@dneto0 dneto0 merged commit d75b3cf into KhronosGroup:main Dec 11, 2023
@ben-clayton ben-clayton deleted the zero-init-vars branch December 11, 2023 15:32
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.

2 participants