Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GS-ogl: Fixes Wunused-but-set-variable warning. #9203

Merged
merged 1 commit into from
Jul 10, 2023
Merged

Conversation

lightningterror
Copy link
Contributor

@lightningterror lightningterror commented Jul 9, 2023

Description of Changes

Fixes Wunused-but-set-variable warning.

Rationale behind Changes

Cleanup warnings.

Suggested Testing Steps

CI passes.

Copy link
Member

@stenzek stenzek left a comment

Choose a reason for hiding this comment

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

Please don't remove this, it is useful for support (specifically grepping).

Don't remove the Intel check either (it may be useful in the future), silence the warning instead.

Fixes Wunused-but-set-variable warning.
@lightningterror lightningterror changed the title GS-ogl: Cleanup CheckFeatures. GS-ogl: Fixes Wunused-but-set-variable warning. Jul 9, 2023
Copy link
Member

@stenzek stenzek left a comment

Choose a reason for hiding this comment

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

I'd prefer nabbing the warning with (void)vendor_id_intel; or something ([[maybe_unused]] might work here too), but this'll do for now.

@lightningterror lightningterror merged commit 4ded2ca into master Jul 10, 2023
22 checks passed
@lightningterror lightningterror deleted the gs_gl_vendor branch July 10, 2023 05:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants