summaryrefslogtreecommitdiff
path: root/EdkCompatibilityPkg
diff options
context:
space:
mode:
authorqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>2008-11-27 02:43:22 +0000
committerqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>2008-11-27 02:43:22 +0000
commite24d48ac467af09fb112e6ae405c4f47e3c5d024 (patch)
tree5392ade820364f087aebb28637c73b71840e9b87 /EdkCompatibilityPkg
parentf875a4f16eef839c9ec2cd35bf3f555556c169bc (diff)
downloadedk2-platforms-e24d48ac467af09fb112e6ae405c4f47e3c5d024.tar.xz
1) Initialize return value for UefiOp for all execution path.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6748 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkCompatibilityPkg')
-rw-r--r--EdkCompatibilityPkg/Compatibility/FrameworkHiiToUefiHiiThunk/OpcodeCreation.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/EdkCompatibilityPkg/Compatibility/FrameworkHiiToUefiHiiThunk/OpcodeCreation.c b/EdkCompatibilityPkg/Compatibility/FrameworkHiiToUefiHiiThunk/OpcodeCreation.c
index 52e8b1d426..b010885de3 100644
--- a/EdkCompatibilityPkg/Compatibility/FrameworkHiiToUefiHiiThunk/OpcodeCreation.c
+++ b/EdkCompatibilityPkg/Compatibility/FrameworkHiiToUefiHiiThunk/OpcodeCreation.c
@@ -56,6 +56,7 @@ QuestionOpFwToUefi (
}
}
+ *UefiOp = (UINT8) (FRAMEWORK_EFI_IFR_LAST_OPCODE + 1);
return EFI_NOT_FOUND;
}