summaryrefslogtreecommitdiff
path: root/MdePkg/Library/BaseLib
diff options
context:
space:
mode:
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2008-09-18 14:27:39 +0000
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2008-09-18 14:27:39 +0000
commit2bfb60098f608dc32ff5d22b0fd087c1636b0881 (patch)
tree8ed7f5c784caa4bc38690e0adef5504a1cf070ea /MdePkg/Library/BaseLib
parent66df25318672baf41db5b2d640020e61cca97a35 (diff)
downloadedk2-platforms-2bfb60098f608dc32ff5d22b0fd087c1636b0881.tar.xz
1. Change 0 == Length style to Length == 0
2. Clean BasePeCoff library instance, only keep one copy PeCoffLoaderEx.c file for IA32, X64 and IPF arch 3. Clean the confused comments git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5927 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/BaseLib')
-rw-r--r--MdePkg/Library/BaseLib/String.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/MdePkg/Library/BaseLib/String.c b/MdePkg/Library/BaseLib/String.c
index 600f8c8a36..872642e958 100644
--- a/MdePkg/Library/BaseLib/String.c
+++ b/MdePkg/Library/BaseLib/String.c
@@ -289,7 +289,7 @@ StrnCmp (
IN UINTN Length
)
{
- if (0 == Length) {
+ if (Length == 0) {
return 0;
}
@@ -1151,7 +1151,7 @@ AsciiStrnCpy (
{
CHAR8 *ReturnValue;
- if (0 == Length) {
+ if (Length == 0) {
return Destination;
}
@@ -1430,7 +1430,7 @@ AsciiStrnCmp (
IN UINTN Length
)
{
- if (0 == Length) {
+ if (Length == 0) {
return 0;
}