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

disable 26444 warning for prefast #327

Merged
merged 1 commit into from
Jan 8, 2025
Merged

Conversation

jlee671
Copy link
Contributor

@jlee671 jlee671 commented Jan 7, 2025

What

Disable C26444: Don't try to declare a local variable with no name warning

Why

Prefast is flagging C26444 warning on lambda that was used in test file. However, the lambda is used as intended. Therefore disable C26444 for those cases.

How

Declare pragma disable around the line prefast is flagging.

Testing

Ensured unit test runs properaly

@jlee671
Copy link
Contributor Author

jlee671 commented Jan 7, 2025

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@heaths heaths merged commit 296d6eb into main Jan 8, 2025
3 checks passed
@heaths heaths deleted the dev/jiwon/disable-C26444-warning branch January 8, 2025 00:29
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