\r
#include "InternalBdsLib.h"\r
\r
+/**\r
+ Check if we need to save the EFI variable with "ConVarName" as name\r
+ as NV type\r
+\r
+ @param ConVarName The name of the EFI variable.\r
+\r
+ @retval TRUE Set the EFI variabel as NV type.\r
+ @retval FALSE EFI variabel as NV type can be set NonNV.\r
+**/\r
BOOLEAN\r
IsNvNeed (\r
IN CHAR16 *ConVarName\r
// If the variable includes "Dev" at last, we consider\r
// it does not support NV attribute.\r
//\r
- while (*Ptr) {\r
+ while (*Ptr != L'\0') {\r
Ptr++;\r
}\r
\r