summaryrefslogtreecommitdiffstats
path: root/FmpDevicePkg
diff options
context:
space:
mode:
authorStar Zeng <star.zeng@intel.com>2018-08-01 16:24:53 +0800
committerKinney, Michael D <michael.d.kinney@intel.com>2018-08-02 15:01:34 -0700
commit0334068343d51ddefccb75a62de21d98d65d69e2 (patch)
tree98fad50e2617b377b9aabcf6c14b09f29d9e3f3b /FmpDevicePkg
parentd7fb5a46324f1f8a3f0bba7a2ab06ea362ae1053 (diff)
downloadedk2-0334068343d51ddefccb75a62de21d98d65d69e2.tar.gz
edk2-0334068343d51ddefccb75a62de21d98d65d69e2.tar.bz2
edk2-0334068343d51ddefccb75a62de21d98d65d69e2.zip
FmpDevicePkg FmpDxe: Fix XCODE build failure
FmpDxe.c:517:18: error: equality comparison with extraneous parentheses [-Werror,-Wparentheses-equality] NOTE: This patch is based on thread https://lists.01.org/pipermail/edk2-devel/2018-July/027810.html. Cc: Michael D Kinney <michael.d.kinney@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng <star.zeng@intel.com> Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
Diffstat (limited to 'FmpDevicePkg')
-rw-r--r--FmpDevicePkg/FmpDxe/FmpDxe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/FmpDevicePkg/FmpDxe/FmpDxe.c b/FmpDevicePkg/FmpDxe/FmpDxe.c
index 0f3396c2ef..eb3a9b0e32 100644
--- a/FmpDevicePkg/FmpDxe/FmpDxe.c
+++ b/FmpDevicePkg/FmpDxe/FmpDxe.c
@@ -514,7 +514,7 @@ GetTheImage (
goto cleanup;
}
- if ((ImageSize == NULL)) {
+ if (ImageSize == NULL) {
DEBUG ((DEBUG_ERROR, "FmpDxe: GetImage() - ImageSize Pointer Parameter is NULL.\n"));
Status = EFI_INVALID_PARAMETER;
goto cleanup;