-
Notifications
You must be signed in to change notification settings - Fork 508
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
CodeQL is reporting Pointless comparison of unsigned value to zero. #246
Conversation
Signed-off-by: jasonc4 <[email protected]> Cc: Reviewer Aaron Pop <[email protected]> Cc: Reviewer Shruti Gupta <[email protected]>
#311) ## Description Cherry-pick Commit 03664aa #282 from release/202311 to dev/202405. CodeQL is reporting Pointless comparison of unsigned value to zero for a value derived from an unsigned PCD PcdDefaultTerminalType. For details on how to complete these options and their meaning refer to [CONTRIBUTING.md](https://github.com/microsoft/mu/blob/HEAD/CONTRIBUTING.md). - [ ] Impacts functionality? - [ ] Impacts security? - [ ] Breaking change? - [ ] Includes tests? - [ ] Includes documentation? - [X] Backport to release branch? ## How This Was Tested Ran Local CI including codeQL setting and pipeline codeQL build. ## Integration Instructions N/A ## upstream repo in EDK2? tianocore/edk2-platforms#246 Co-authored-by: Aaron <[email protected]> Co-authored-by: Aaron <[email protected]>
#311) ## Description Cherry-pick Commit 03664aa #282 from release/202311 to dev/202405. CodeQL is reporting Pointless comparison of unsigned value to zero for a value derived from an unsigned PCD PcdDefaultTerminalType. For details on how to complete these options and their meaning refer to [CONTRIBUTING.md](https://github.com/microsoft/mu/blob/HEAD/CONTRIBUTING.md). - [ ] Impacts functionality? - [ ] Impacts security? - [ ] Breaking change? - [ ] Includes tests? - [ ] Includes documentation? - [X] Backport to release branch? ## How This Was Tested Ran Local CI including codeQL setting and pipeline codeQL build. ## Integration Instructions N/A ## upstream repo in EDK2? tianocore/edk2-platforms#246 Co-authored-by: Aaron <[email protected]> Co-authored-by: Aaron <[email protected]>
Hi, review-requested: @ChaselChiu @nate-desimone @SaiChaganty @lgao4 @ydong10 Please kindly help me to review it. Thanks |
My apology @ChaselChiu , I pressed a wrong button to request you review again. :( |
Since I don't have the permission to merge my code change to master branch. Could someone help to do a code merge on it? Thank you very much!! |
CodeQL is reporting Pointless comparison of unsigned value to zero.
Signed-off-by: jasonc4 [email protected]
Cc: Reviewer Aaron Pop [email protected]
Cc: Reviewer Shruti Gupta [email protected]
How This Was Tested
Ran Local CI including codeQL setting and pipeline codeQL build.
Integration Instructions
N/A