diff options
Diffstat (limited to 'MdePkg/Library/BaseLib/String.c')
-rw-r--r-- | MdePkg/Library/BaseLib/String.c | 6 |
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;
}
|