Skip to content

Fix typos in warning suppression pragma and P2P logs - #456

Open
cramirodehuelbes wants to merge 2 commits into
ValveSoftware:masterfrom
cramirodehuelbes:fix-typos
Open

cramirodehuelbes wants to merge 2 commits into
ValveSoftware:masterfrom
cramirodehuelbes:fix-typos

Conversation

@cramirodehuelbes

Copy link
Copy Markdown

ANALYZE_SUPPRESS2 in minbase_annotations.h spelled the MSVC pragma specifier as supress, so it would be ignored (and MSVC would warn) if used. It only expands in MSVC /analyze builds and nothing in this repo uses it, so there’s no runtime impact here. However, the same typo exists in source-sdk-2013/src/public/tier0/annotations.h, which suggests it was inherited from a shared header and could be hit by HL2/TF2 mod devs using the SDK.

MSVC pragma was misspelled as 'supress', so it would be ignored if used.
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.

1 participant