/** @file\r
Misc BDS library function\r
\r
-Copyright (c) 2004 - 2008, Intel Corporation. <BR>\r
+Copyright (c) 2004 - 2010, Intel Corporation. <BR>\r
All rights reserved. This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at\r
}\r
\r
//\r
-// Following are BDS Lib functions which contain all the code about setup browser reset reminder feature.\r
+// Following are BDS Lib functions which contain all the code about setup browser reset reminder feature.\r
// Setup Browser reset reminder feature is that an reset reminder will be given before user leaves the setup browser if\r
// user change any option setting which needs a reset to be effective, and the reset will be applied according to the user selection.\r
//\r
Root = NULL;\r
goto Done;\r
}\r
-\r
+ ASSERT (Root != NULL);\r
Status = Root->Open (Root, &ThisFile, FileName, EFI_FILE_MODE_READ, 0);\r
if (EFI_ERROR (Status)) {\r
goto Done;\r
}\r
+ ASSERT (ThisFile != NULL);\r
\r
//\r
// Get file size\r