Revision: 19404
          http://sourceforge.net/p/edk2/code/19404
Author:   vanjeff
Date:     2015-12-18 07:35:47 +0000 (Fri, 18 Dec 2015)
Log Message:
-----------
ShellPkg: fix RVCT warning due to CONST in typecast.

Building the latest shell on RVCT exposed this warning:

ShellPkg\Application\Shell\Shell.c(1090,69): error #191-D: type qualifier is 
meaningless on cast type

The CONST in the cast was deemed meaningless.  Removing the CONST fixed the 
warning.

(Sync patch r18954 from main trunk.)

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Cohen Eugene <[email protected]>
Reviewed-by: Qiu Shumin <[email protected]>

Revision Links:
--------------
    http://sourceforge.net/p/edk2/code/18954

Modified Paths:
--------------
    branches/UDK2015/ShellPkg/Application/Shell/Shell.c

Modified: branches/UDK2015/ShellPkg/Application/Shell/Shell.c
===================================================================
--- branches/UDK2015/ShellPkg/Application/Shell/Shell.c 2015-12-18 07:35:18 UTC 
(rev 19403)
+++ branches/UDK2015/ShellPkg/Application/Shell/Shell.c 2015-12-18 07:35:47 UTC 
(rev 19404)
@@ -1087,7 +1087,7 @@
     }
     Status = RunShellCommand(FileStringPath, &CalleeStatus);
     if (ShellInfoObject.ShellInitSettings.BitUnion.Bits.Exit == TRUE) {
-      ShellCommandRegisterExit(gEfiShellProtocol->BatchIsActive(), (CONST 
UINT64)CalleeStatus);
+      ShellCommandRegisterExit(gEfiShellProtocol->BatchIsActive(), 
(UINT64)CalleeStatus);
     }
     FreePool(FileStringPath);
     return (Status);


------------------------------------------------------------------------------
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to