mirror of https://github.com/acidanthera/audk.git
Roll back 1 == Var to Var == 1 for save size.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5466 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
1654531a31
commit
3afce7336e
|
@ -52,7 +52,7 @@ CopyMem (
|
||||||
IN UINTN Length
|
IN UINTN Length
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
if (0 == Length) {
|
if (Length == 0) {
|
||||||
return DestinationBuffer;
|
return DestinationBuffer;
|
||||||
}
|
}
|
||||||
ASSERT ((Length - 1) <= (MAX_ADDRESS - (UINTN)DestinationBuffer));
|
ASSERT ((Length - 1) <= (MAX_ADDRESS - (UINTN)DestinationBuffer));
|
||||||
|
|
Loading…
Reference in New Issue