projects
/
mirror_edk2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add compiler hint of "GLOBAL_REMOVE_IF_UNREFERENCED" to prevent static unicode string...
[mirror_edk2.git]
/
MdeModulePkg
/
Universal
/
Network
/
Dhcp4Dxe
/
ComponentName.c
diff --git
a/MdeModulePkg/Universal/Network/Dhcp4Dxe/ComponentName.c
b/MdeModulePkg/Universal/Network/Dhcp4Dxe/ComponentName.c
index 5e3b0966d52356fdebcb05f5c7d405b1c32d284e..ed258d2bf365cd46feee9d4df634a2786071a351 100644
(file)
--- a/
MdeModulePkg/Universal/Network/Dhcp4Dxe/ComponentName.c
+++ b/
MdeModulePkg/Universal/Network/Dhcp4Dxe/ComponentName.c
@@
-170,7
+170,7
@@
GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME2_PROTOCOL gDhcp4ComponentName2
};
\r
\r
\r
-
static
EFI_UNICODE_STRING_TABLE mDhcpDriverNameTable[] = {
\r
+
GLOBAL_REMOVE_IF_UNREFERENCED
EFI_UNICODE_STRING_TABLE mDhcpDriverNameTable[] = {
\r
{
\r
"eng;en",
\r
L"DHCP Protocol Driver"
\r