C26493 analyzer warnings in result_macros.h
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 3k
- Forks
- 300
- Avg merge
- 19h 12m
- Merged PRs (30d)
- 1
Description
When building with code analysis on, at least the following lines result in C26493:
https://github.com/microsoft/wil/blob/ce501f7a9a37f2844aee9790925856331da04e6b/include/wil/result_macros.h#L2024
https://github.com/microsoft/wil/blob/ce501f7a9a37f2844aee9790925856331da04e6b/include/wil/result_macros.h#L2179
https://github.com/microsoft/wil/blob/ce501f7a9a37f2844aee9790925856331da04e6b/include/wil/result_macros.h#L2190
https://github.com/microsoft/wil/blob/ce501f7a9a37f2844aee9790925856331da04e6b/include/wil/result_macros.h#L2200
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the four linked locations in include/wil/result_macros.h and reproduce the C26493 warnings by building with code analysis enabled. Inspect the surrounding macros and make the warnings disappear without changing their behavior; done means the reported lines no longer produce C26493.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100