summaryrefslogtreecommitdiff
path: root/OvmfPkg/PlatformDxe
diff options
context:
space:
mode:
authorLaszlo Ersek <lersek@redhat.com>2016-10-21 11:59:36 +0200
committerLaszlo Ersek <lersek@redhat.com>2016-10-25 10:46:19 +0200
commitae23afb4e7481c9f079ebabb2a0341fdf9c4964b (patch)
treebc956ffe81992488bc388d5b969d79ee0afd7270 /OvmfPkg/PlatformDxe
parent579afd6bb85e90a87a1aeb935796318569914579 (diff)
downloadedk2-ae23afb4e7481c9f079ebabb2a0341fdf9c4964b.zip
edk2-ae23afb4e7481c9f079ebabb2a0341fdf9c4964b.tar.gz
edk2-ae23afb4e7481c9f079ebabb2a0341fdf9c4964b.tar.bz2
OvmfPkg/SmbiosVersionLib: eliminate unchecked PcdSetXX() calls
These are deprecated / disabled under the DISABLE_NEW_DEPRECATED_INTERFACES feature test macro. Introduce a variable called PcdStatus, and use it to assert the success of these operations (there is no reason for them to fail here). Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org> Cc: Jordan Justen <jordan.l.justen@intel.com> Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=166 Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Tested-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> # RVCT Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Diffstat (limited to 'OvmfPkg/PlatformDxe')
0 files changed, 0 insertions, 0 deletions