Skip to content

[NFC] Fix two uninitialized variable warnings - #8863

Merged
Chris B (llvm-beanz) merged 1 commit into
microsoft:mainfrom
llvm-beanz:2026-08-31-fix-warnings
Aug 31, 2026
Merged

[NFC] Fix two uninitialized variable warnings#8863
Chris B (llvm-beanz) merged 1 commit into
microsoft:mainfrom
llvm-beanz:2026-08-31-fix-warnings

Conversation

@llvm-beanz

Copy link
Copy Markdown
Collaborator

This addresses some uninitialized variable warnings to silence the compiler.

This addresses some uninitialized variable warnings to silence the
compiler.
Copilot AI balanced review requested due to automatic review settings August 31, 2026 17:52

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Silences false-positive uninitialized-variable warnings without changing behavior.

Changes:

  • Initializes the GoogleTest stack probe variable.
  • Initializes shader entry/profile pointers and verifies assignment.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
utils/unittest/googletest/src/gtest-death-test.cc Initializes the stack probe variable.
tools/clang/unittests/HLSL/SystemValueTest.cpp Initializes and validates shader parameters.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@llvm-beanz
Chris B (llvm-beanz) merged commit df27bb2 into microsoft:main Aug 31, 2026
14 checks passed
@llvm-beanz
Chris B (llvm-beanz) deleted the 2026-08-31-fix-warnings branch August 31, 2026 20:33
@github-project-automation github-project-automation Bot moved this from New to Done in HLSL Roadmap Aug 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants