Commit b0dda71
MinPlatformPkg SerialPortTerminalLib: Fixing CodeQL issue Pointless c… (#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]>1 parent 175663e commit b0dda71
File tree
1 file changed
+1
-2
lines changed- MinPlatformPkg/Library/SerialPortTerminalLib
1 file changed
+1
-2
lines changedLines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
92 | | - | |
| 91 | + | |
93 | 92 | | |
94 | 93 | | |
95 | 94 | | |
| |||
0 commit comments