diff options
author | Mike Beaton <mjsbeaton@gmail.com> | 2024-04-06 23:23:40 +0100 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-09-27 16:57:36 +0000 |
commit | 8b295e0aad55cdf0c20eba6398862832ce188a0c (patch) | |
tree | 4ee7e0f21f987f04b44319e945a91c96d2a409c6 /NetworkPkg | |
parent | e548e1cd73fe16b59ff9b5f11b37456e4c3de10f (diff) | |
download | edk2-security-advisory/cve-2024-38796/advisory.tar.gz edk2-security-advisory/cve-2024-38796/advisory.tar.bz2 edk2-security-advisory/cve-2024-38796/advisory.zip |
NetworkPkg/Dhcp6Dxe: Fix extraneous parenthesessecurity-advisory/cve-2024-38796/advisory
Without this change we get:
error: equality comparison with extraneous parentheses
when building with -D NETWORK_IP6_ENABLE on XCODE5.
Signed-off-by: Mike Beaton <mjsbeaton@gmail.com>
Diffstat (limited to 'NetworkPkg')
-rw-r--r-- | NetworkPkg/Dhcp6Dxe/Dhcp6Utility.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/NetworkPkg/Dhcp6Dxe/Dhcp6Utility.c b/NetworkPkg/Dhcp6Dxe/Dhcp6Utility.c index f38e3ee3fe..f72bc93a68 100644 --- a/NetworkPkg/Dhcp6Dxe/Dhcp6Utility.c +++ b/NetworkPkg/Dhcp6Dxe/Dhcp6Utility.c @@ -1001,7 +1001,7 @@ Dhcp6AppendETOption ( return EFI_INVALID_PARAMETER;
}
- if ((Elapsed == NULL)) {
+ if (Elapsed == NULL) {
return EFI_INVALID_PARAMETER;
}
|