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;
|
volatile UINT8 *Pointer;
|
||||||
|
|
||||||
Pointer = (UINT8*)Buffer;
|
Pointer = (UINT8*)Buffer;
|
||||||
while (Length-- != 0) {
|
while (Length-- > 0) {
|
||||||
*(Pointer++) = Value;
|
*(Pointer++) = Value;
|
||||||
}
|
}
|
||||||
return Buffer;
|
return Buffer;
|
||||||
|
|
Loading…
Reference in New Issue