mirror of
https://github.com/LongSoft/UEFITool.git
synced 2024-11-23 16:38:23 +08:00
Attempt to fix an issue spotted by SonarCloud
This commit is contained in:
parent
03d71d6f9f
commit
2467b48802
@ -1559,7 +1559,7 @@ Returns: (VOID)
|
|||||||
INT32 i;
|
INT32 i;
|
||||||
UINT16 Start[18];
|
UINT16 Start[18];
|
||||||
|
|
||||||
Start[1] = 0;
|
memset(Start, 0, sizeof(Start));
|
||||||
for (i = 1; i <= 16; i++) {
|
for (i = 1; i <= 16; i++) {
|
||||||
Start[i + 1] = (UINT16)((Start[i] + mLenCnt[i]) << 1);
|
Start[i + 1] = (UINT16)((Start[i] + mLenCnt[i]) << 1);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user