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

CodeQL is reporting Pointless comparison of unsigned value to zero. #246

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

v-jaschen
Copy link

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]

  • Impacts functionality?
  • Impacts security?
  • Breaking change?
  • Includes tests?
  • Includes documentation?
  • Backport to release branch?

How This Was Tested

Ran Local CI including codeQL setting and pipeline codeQL build.

Integration Instructions

N/A

Signed-off-by: jasonc4 <[email protected]>
Cc: Reviewer Aaron Pop <[email protected]>
Cc: Reviewer Shruti Gupta <[email protected]>
@v-jaschen v-jaschen marked this pull request as ready for review November 13, 2024 18:03
apop5 added a commit to microsoft/mu_common_intel_min_platform that referenced this pull request Nov 14, 2024
#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]>
ProjectMuBot pushed a commit to microsoft/mu_common_intel_min_platform that referenced this pull request Nov 14, 2024
#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]>
@v-jaschen
Copy link
Author

Hi,

review-requested: @ChaselChiu @nate-desimone @SaiChaganty @lgao4 @ydong10

Please kindly help me to review it. Thanks

@v-jaschen
Copy link
Author

My apology @ChaselChiu , I pressed a wrong button to request you review again. :(
But I didn't change any code. Would you please click approved btn again? Thank you.

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.

3 participants