]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Fix the clang compilation failure to handle all the values in a case statement for...
authorniruiyu <niruiyu@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 14 Oct 2011 07:46:15 +0000 (07:46 +0000)
committerniruiyu <niruiyu@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 14 Oct 2011 07:46:15 +0000 (07:46 +0000)
Signed-off-by: Andrew Fish
Reviewed-by: niruiyu
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12539 6f19259b-4bc3-4df7-8a09-765794883524

MdeModulePkg/Universal/Variable/Pei/Variable.c

index c03d2b5dfdc9d1d676021a2a1f8bedb1895e8a24..5043f19c51062a1ac3cf04e65532716ce51fa00c 100644 (file)
@@ -383,6 +383,10 @@ GetVariableStore (
         }\r
       }\r
       break;\r
+\r
+    default:\r
+      ASSERT (FALSE);\r
+      break;\r
   }\r
 \r
   return VariableStoreHeader;\r