ECC cleanup: Non-Boolean comparisons should use a compare operator (==, !=, >, < >=, <=)

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7481 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
qwang12
2009-02-09 05:29:17 +00:00
parent f0a8eeb2c5
commit d1a54e2c3e
3 changed files with 10 additions and 10 deletions

View File

@ -1058,7 +1058,7 @@ TheKey:
HiiValue.Value.u64 = 0;
for (Index = 0; Index < Question->MaxContainers; Index++) {
HiiValue.Value.u8 = ValueArray[Index];
if (HiiValue.Value.u8) {
if (HiiValue.Value.u8 != 0) {
break;
}