summaryrefslogtreecommitdiffstats
path: root/IntelFrameworkModulePkg/Library
diff options
context:
space:
mode:
authorvanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2008-03-19 05:49:56 +0000
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2008-03-19 05:49:56 +0000
commit695f7e9856bc478054e317c8b9b1e12e6cbf0693 (patch)
treee0cd1b94a17a15a703139f5d57ec16aed4bd029d /IntelFrameworkModulePkg/Library
parent8541adab27901906118876f1acd3555666677ff9 (diff)
downloadedk2-695f7e9856bc478054e317c8b9b1e12e6cbf0693.tar.gz
edk2-695f7e9856bc478054e317c8b9b1e12e6cbf0693.tar.bz2
edk2-695f7e9856bc478054e317c8b9b1e12e6cbf0693.zip
add some error check and return.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4912 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'IntelFrameworkModulePkg/Library')
-rw-r--r--IntelFrameworkModulePkg/Library/GraphicsLib/Graphics.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/IntelFrameworkModulePkg/Library/GraphicsLib/Graphics.c b/IntelFrameworkModulePkg/Library/GraphicsLib/Graphics.c
index 283d9be358..ea8c7d5157 100644
--- a/IntelFrameworkModulePkg/Library/GraphicsLib/Graphics.c
+++ b/IntelFrameworkModulePkg/Library/GraphicsLib/Graphics.c
@@ -415,6 +415,8 @@ Returns:
if (EFI_ERROR (Status)) {
return EFI_UNSUPPORTED;
}
+ } else {
+ return EFI_UNSUPPORTED;
}
Instance = 0;