mirror of https://github.com/acidanthera/audk.git
NetworkPkg: Update IScsiDxe to pass XCODE build
Fix the warning equality comparison with extraneous parentheses [-Werror,-Wparentheses-equality]. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Liang Vincent <vincent.liang@intel.com> Reviewed-by: Jiaxin Wu <jiaxin.wu@intel.com>
This commit is contained in:
parent
be18cb0305
commit
cf260a47be
|
@ -266,7 +266,7 @@ IScsiDhcpSelectOffer (
|
|||
break;
|
||||
}
|
||||
|
||||
if ((Index == OptionCount)) {
|
||||
if (Index == OptionCount) {
|
||||
Status = EFI_NOT_READY;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/** @file
|
||||
The implementation of EFI_EXT_SCSI_PASS_THRU_PROTOCOL.
|
||||
|
||||
Copyright (c) 2004 - 2015, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2004 - 2017, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials
|
||||
are licensed and made available under the terms and conditions of the BSD License
|
||||
which accompanies this distribution. The full text of the license may be found at
|
||||
|
@ -219,7 +219,7 @@ IScsiExtScsiPassThruBuildDevicePath (
|
|||
EFI_DEV_PATH *Node;
|
||||
UINTN DevPathNodeLen;
|
||||
|
||||
if ((DevicePath == NULL)) {
|
||||
if (DevicePath == NULL) {
|
||||
return EFI_INVALID_PARAMETER;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue