summaryrefslogtreecommitdiff
path: root/PerformancePkg
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2015-09-01 17:28:57 +0000
committerabiesheuvel <abiesheuvel@Edk2>2015-09-01 17:28:57 +0000
commit3d175bcb6eeb0bccffd7470f0b2af82311944155 (patch)
treef5f3ef1d0c3afed4d452c02e56f07e0ab171f3e2 /PerformancePkg
parent3baf5c9fc94eb677d51902bf66e880c9db55cc5a (diff)
downloadedk2-platforms-3d175bcb6eeb0bccffd7470f0b2af82311944155.tar.xz
ArmPlatformPkg/PlatformIntelBdsLib: fix and clean up error handling
InitializeConsolePipe () shadowed its own Status variable, and then clobbered the top one before printing its error message. Instead, use a NULL check on the LocateProtocol () output argument. Also clean up coding style on the error path. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18376 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'PerformancePkg')
0 files changed, 0 insertions, 0 deletions