OcAppleBootPolicyLib: Do not ASSERT for missing leading backslash when unneeded
@@ -352,7 +352,9 @@ OcGetBooterFromPredefinedNameList (
// For relative paths (i.e. when Prefix is a volume GUID) we must
// not use leading slash. This is what AppleBootPolicy does.
//
+ if (Prefix != NULL) {
ASSERT (PathName[0] == L'\\');
+ }
Status = InternalFileExists (
Root,
Prefix != NULL ? &PathName[1] : &PathName[0]
