mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-25 14:44:28 +02:00
adjust code to remove Klocwork issues.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7322 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
9d35ff8b32
commit
7efb1d8996
@ -46,7 +46,7 @@ InternalMemSetMem (
|
||||
volatile UINT8 *Pointer;
|
||||
|
||||
Pointer = (UINT8*)Buffer;
|
||||
while (Length-- != 0) {
|
||||
while (Length-- > 0) {
|
||||
*(Pointer++) = Value;
|
||||
}
|
||||
return Buffer;
|
||||
|
Loading…
x
Reference in New Issue
Block a user