mirror of https://github.com/acidanthera/audk.git
Add a new line to initialize the variable “PassThruProtocol” in ConsoleWrapers.c to ensure the initialization not to be a part of its declaration.
Signed-off-by: Shumin Qiu <shumin.qiu@intel.com> Reviewed-by: Eric Dong <eric.dong@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14989 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
f67eb9d8ba
commit
6f05676ddd
|
@ -255,7 +255,9 @@ FileBasedSimpleTextOutQueryMode (
|
||||||
OUT UINTN *Rows
|
OUT UINTN *Rows
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *PassThruProtocol = ((SHELL_EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *)This)->OriginalSimpleTextOut;
|
EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *PassThruProtocol;
|
||||||
|
|
||||||
|
PassThruProtocol = ((SHELL_EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *)This)->OriginalSimpleTextOut;
|
||||||
|
|
||||||
// Pass the QueryMode call thru to the original SimpleTextOutProtocol
|
// Pass the QueryMode call thru to the original SimpleTextOutProtocol
|
||||||
return (PassThruProtocol->QueryMode(
|
return (PassThruProtocol->QueryMode(
|
||||||
|
|
Loading…
Reference in New Issue