summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Beaton <mjsbeaton@gmail.com>2024-04-06 23:09:49 +0100
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2024-09-27 16:57:36 +0000
commit95292a0f2430ee9dbbf9929f8b0399ec83be5b24 (patch)
tree09811b70000d21b9c4f5fe4566a835b23f9f9748
parent0aa93aecb7e83b9eeaaac801b1e842eaf6423f08 (diff)
downloadedk2-95292a0f2430ee9dbbf9929f8b0399ec83be5b24.zip
edk2-95292a0f2430ee9dbbf9929f8b0399ec83be5b24.tar.gz
edk2-95292a0f2430ee9dbbf9929f8b0399ec83be5b24.tar.bz2
MdeModulePkg/VariablePolicyLib: Fix extraneous parentheses
Without this change we get: error: equality comparison with extraneous parentheses when building on XCODE5. Signed-off-by: Mike Beaton <mjsbeaton@gmail.com>
-rw-r--r--MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.c b/MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.c
index 053b48d..f5b9418 100644
--- a/MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.c
+++ b/MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.c
@@ -918,7 +918,7 @@ GetLockOnVariableStateVariablePolicyInfo (
LocalLockOnVarStatePolicy = (VARIABLE_LOCK_ON_VAR_STATE_POLICY *)(MatchPolicy + 1);
CopyMem (VariablePolicy, LocalLockOnVarStatePolicy, sizeof (*LocalLockOnVarStatePolicy));
- if ((VariableLockPolicyVariableNameBufferSize == NULL)) {
+ if (VariableLockPolicyVariableNameBufferSize == NULL) {
if (VariableLockPolicyVariableName != NULL) {
return EFI_INVALID_PARAMETER;
}