audk/ArmPlatformPkg/Library/PlatformIntelBdsLib
Ard Biesheuvel 3d175bcb6e 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
2015-09-01 17:28:57 +00:00
..
IntelBdsPlatform.c ArmPlatformPkg/PlatformIntelBdsLib: fix and clean up error handling 2015-09-01 17:28:57 +00:00
IntelBdsPlatform.h ArmPlatformPkg/PlatformIntelBdsLib: remove ARM BDS dependency 2015-09-01 17:28:48 +00:00
PlatformIntelBdsLib.inf ArmPlatformPkg/PlatformIntelBdsLib: remove ARM BDS dependency 2015-09-01 17:28:48 +00:00