Revision: 19416
http://sourceforge.net/p/edk2/code/19416
Author: vanjeff
Date: 2015-12-18 07:43:13 +0000 (Fri, 18 Dec 2015)
Log Message:
-----------
ShellPkg: Fix unhandled value in switch statement
This patch fixes the following compile error under GCC 5.3.1:
/home/pcacjr/work/edk2.git/ShellPkg/Application/Shell/ShellManParser.c:
In function 'IsTitleHeader':
/home/pcacjr/work/edk2.git/ShellPkg/Application/Shell/ShellManParser.c:502:5:
error: enumeration value 'Final' not handled in switch [-Werror=switch]
switch (State) {
^
(Sync patch r19304 from main trunk.)
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Paulo Alcantara <[email protected]>
Acked-by: Ard Biesheuvel <[email protected]>
Reviewed-by: Jaben Carsey <[email protected]>
Revision Links:
--------------
http://sourceforge.net/p/edk2/code/19304
Modified Paths:
--------------
branches/UDK2015/ShellPkg/Application/Shell/ShellManParser.c
Modified: branches/UDK2015/ShellPkg/Application/Shell/ShellManParser.c
===================================================================
--- branches/UDK2015/ShellPkg/Application/Shell/ShellManParser.c
2015-12-18 07:42:43 UTC (rev 19415)
+++ branches/UDK2015/ShellPkg/Application/Shell/ShellManParser.c
2015-12-18 07:43:13 UTC (rev 19416)
@@ -564,6 +564,8 @@
Line++;
break;
+ default:
+ break;
}
} while (State < Final);
------------------------------------------------------------------------------
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits