Skip to content

Commit

Permalink
OpenCoreNvram: Do not warn about failing to set empty vars
Browse files Browse the repository at this point in the history
  • Loading branch information
vit9696 committed May 7, 2020
1 parent d11b9f8 commit f2e2edc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Platform/OpenCore/OpenCoreNvram.c
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ OcSetNvramVariable (
VariableData
);
DEBUG ((
EFI_ERROR (Status) ? DEBUG_WARN : DEBUG_INFO,
EFI_ERROR (Status) && VariableSize > 0 ? DEBUG_WARN : DEBUG_INFO,
"OC: Setting NVRAM %g:%a - %r\n",
VariableGuid,
AsciiVariableName,
Expand Down

0 comments on commit f2e2edc

Please sign in to comment.