Add GLOBAL_REMOVE_IF_REFERENCED to the declaration of module globals in the Print Library that were still present in the final image even through there were no references to those module globals.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1566 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -19,7 +19,7 @@
|
|||||||
#define WARNING_STATUS_NUMBER 4
|
#define WARNING_STATUS_NUMBER 4
|
||||||
#define ERROR_STATUS_NUMBER 24
|
#define ERROR_STATUS_NUMBER 24
|
||||||
|
|
||||||
STATIC CONST CHAR8 *StatusString [] = {
|
GLOBAL_REMOVE_IF_UNREFERENCED CONST CHAR8 *StatusString [] = {
|
||||||
"Success", // RETURN_SUCCESS = 0
|
"Success", // RETURN_SUCCESS = 0
|
||||||
"Warning Unknown Glyph", // RETURN_WARN_UNKNOWN_GLYPH = 1
|
"Warning Unknown Glyph", // RETURN_WARN_UNKNOWN_GLYPH = 1
|
||||||
"Warning Delete Failure", // RETURN_WARN_DELETE_FAILURE = 2
|
"Warning Delete Failure", // RETURN_WARN_DELETE_FAILURE = 2
|
||||||
|
@@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
#include "PrintLibInternal.h"
|
#include "PrintLibInternal.h"
|
||||||
|
|
||||||
static CONST CHAR8 mHexStr[] = {'0','1','2','3','4','5','6','7','8','9','A','B','C','D','E','F'};
|
GLOBAL_REMOVE_IF_UNREFERENCED CONST CHAR8 mHexStr[] = {'0','1','2','3','4','5','6','7','8','9','A','B','C','D','E','F'};
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user