Revision: 14989
          http://sourceforge.net/p/edk2/code/14989
Author:   shenshushi
Date:     2013-12-16 01:53:11 +0000 (Mon, 16 Dec 2013)
Log Message:
-----------
Add a new line to initialize the variable 
?\226?\128?\156PassThruProtocol?\226?\128?\157  in ConsoleWrapers.c to ensure 
the initialization not to be a part of its declaration.

Signed-off-by: Shumin Qiu <[email protected]>
Reviewed-by: Eric Dong <[email protected]>

Modified Paths:
--------------
    trunk/edk2/ShellPkg/Application/Shell/ConsoleWrappers.c

Modified: trunk/edk2/ShellPkg/Application/Shell/ConsoleWrappers.c
===================================================================
--- trunk/edk2/ShellPkg/Application/Shell/ConsoleWrappers.c     2013-12-16 
01:34:01 UTC (rev 14988)
+++ trunk/edk2/ShellPkg/Application/Shell/ConsoleWrappers.c     2013-12-16 
01:53:11 UTC (rev 14989)
@@ -255,8 +255,10 @@
   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
   return (PassThruProtocol->QueryMode(
     PassThruProtocol,

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to