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
/
Ip4Dxe
/
ComponentName.c
diff --git
a/MdeModulePkg/Universal/Network/Ip4Dxe/ComponentName.c
b/MdeModulePkg/Universal/Network/Ip4Dxe/ComponentName.c
index 6d5f7c126e163c7cc871c142fce15166f638a8f1..a3966a95441330ebcf8422be804fdc5aad029d96 100644
(file)
--- a/
MdeModulePkg/Universal/Network/Ip4Dxe/ComponentName.c
+++ b/
MdeModulePkg/Universal/Network/Ip4Dxe/ComponentName.c
@@
-170,7
+170,7
@@
GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME2_PROTOCOL gIp4ComponentName2 =
};
\r
\r
\r
-
static
EFI_UNICODE_STRING_TABLE mIp4DriverNameTable[] = {
\r
+
GLOBAL_REMOVE_IF_UNREFERENCED
EFI_UNICODE_STRING_TABLE mIp4DriverNameTable[] = {
\r
{
\r
"eng;en",
\r
L"IP4 Network Service Driver"
\r