diff options
author | vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-01-21 03:17:15 +0000 |
---|---|---|
committer | vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-01-21 03:17:15 +0000 |
commit | 7efb1d899695611fbca65ca906dd7bfdd9f1161f (patch) | |
tree | a724b7bf154c8060b85bd618a78e048c5db0fb8b /MdePkg/Library/BaseMemoryLib/SetMem.c | |
parent | 9d35ff8b32ddda1ecd7d22c6b21faed76dffea9c (diff) | |
download | edk2-platforms-7efb1d899695611fbca65ca906dd7bfdd9f1161f.tar.xz |
adjust code to remove Klocwork issues.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7322 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/BaseMemoryLib/SetMem.c')
-rw-r--r-- | MdePkg/Library/BaseMemoryLib/SetMem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MdePkg/Library/BaseMemoryLib/SetMem.c b/MdePkg/Library/BaseMemoryLib/SetMem.c index 546e665512..32183d4393 100644 --- a/MdePkg/Library/BaseMemoryLib/SetMem.c +++ b/MdePkg/Library/BaseMemoryLib/SetMem.c @@ -46,7 +46,7 @@ InternalMemSetMem ( volatile UINT8 *Pointer;
Pointer = (UINT8*)Buffer;
- while (Length-- != 0) {
+ while (Length-- > 0) {
*(Pointer++) = Value;
}
return Buffer;
|