diff options
author | Mike Beaton <mjsbeaton@gmail.com> | 2024-04-06 23:09:49 +0100 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-09-27 16:57:36 +0000 |
commit | 95292a0f2430ee9dbbf9929f8b0399ec83be5b24 (patch) | |
tree | 09811b70000d21b9c4f5fe4566a835b23f9f9748 /MdeModulePkg | |
parent | 0aa93aecb7e83b9eeaaac801b1e842eaf6423f08 (diff) | |
download | edk2-95292a0f2430ee9dbbf9929f8b0399ec83be5b24.tar.gz edk2-95292a0f2430ee9dbbf9929f8b0399ec83be5b24.tar.bz2 edk2-95292a0f2430ee9dbbf9929f8b0399ec83be5b24.zip |
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>
Diffstat (limited to 'MdeModulePkg')
-rw-r--r-- | MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.c b/MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLib.c index 053b48d90e..f5b9418a38 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;
}
|