mirror of https://github.com/acidanthera/audk.git
Fix warning generated by GCC. This warning could have been resolved
with additional parenthesis, but I think the logic was previously incorrect. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6682 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
2358368cb2
commit
69da1e7c48
|
@ -693,7 +693,7 @@ Returns:
|
|||
//
|
||||
Node.DevPath = RemainingDevicePath;
|
||||
if (Node.DevPath->Type != HARDWARE_DEVICE_PATH ||
|
||||
Node.DevPath->SubType != HW_PCI_DP &&
|
||||
Node.DevPath->SubType != HW_PCI_DP ||
|
||||
DevicePathNodeLength (Node.DevPath) != sizeof (PCI_DEVICE_PATH)
|
||||
) {
|
||||
return EFI_UNSUPPORTED;
|
||||
|
|
Loading…
Reference in New Issue