Skip to content

Fixing warning due to unused variable when GPU_MARKERS_V2 is not enabled#11

Merged
austinkinross merged 1 commit into
microsoft:mainfrom
KStocky:FixUnusedVar
Jul 16, 2026
Merged

Fixing warning due to unused variable when GPU_MARKERS_V2 is not enabled#11
austinkinross merged 1 commit into
microsoft:mainfrom
KStocky:FixUnusedVar

Conversation

@KStocky

@KStocky KStocky commented Dec 7, 2025

Copy link
Copy Markdown
Contributor

In PIXEndEvent, the destination variable is not used when PIX_USE_GPU_MARKERS_V2 is not enabled. This will emit a warning when compiling with clang and -Wunused-but-set-variable.

This PR simply suppresses this warning.

@KStocky KStocky changed the title Fixing use of unused variable when GPU_MARKERS_V2 and CPU is not enabled Fixing warning due to unused variable when GPU_MARKERS_V2 is not enabled Dec 7, 2025
@austinkinross

Copy link
Copy Markdown
Member

Thanks Keith! Sorry for the delay here.

@austinkinross
austinkinross merged commit c54c890 into microsoft:main Jul 16, 2026
1 check passed
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