git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8377
6f19259b-4bc3-4df7-8a09-
765794883524
//\r
// enumerate through the list of parametrs\r
//\r
//\r
// enumerate through the list of parametrs\r
//\r
- for (Node = GetFirstNode(CheckPackage) ; Node != CheckPackage ; Node = GetNextNode(CheckPackage, Node) ) {\r
+ for (Node = GetFirstNode(CheckPackage) ; !IsNull (CheckPackage, Node) ; Node = GetNextNode(CheckPackage, Node) ) {\r
//\r
// If the Name matches, return TRUE (and there may be NULL name)\r
//\r
//\r
// If the Name matches, return TRUE (and there may be NULL name)\r
//\r
//\r
// enumerate through the list of parametrs\r
//\r
//\r
// enumerate through the list of parametrs\r
//\r
- for (Node = GetFirstNode(CheckPackage) ; Node != NULL ; Node = GetNextNode(CheckPackage, Node) ) {\r
+ for (Node = GetFirstNode(CheckPackage) ; !IsNull (CheckPackage, Node) ; Node = GetNextNode(CheckPackage, Node) ) {\r
//\r
// If the Name matches, return the value (name can be NULL)\r
//\r
//\r
// If the Name matches, return the value (name can be NULL)\r
//\r
//\r
// enumerate through the list of parametrs\r
//\r
//\r
// enumerate through the list of parametrs\r
//\r
- for (Node = GetFirstNode(CheckPackage) ; Node != NULL ; Node = GetNextNode(CheckPackage, Node) ) {\r
+ for (Node = GetFirstNode(CheckPackage) ; !IsNull (CheckPackage, Node) ; Node = GetNextNode(CheckPackage, Node) ) {\r
//\r
// If the position matches, return the value\r
//\r
//\r
// If the position matches, return the value\r
//\r