]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Nt32Pkg/WinNtConsoleDxe/ComponentName.c
Add compiler hint of "GLOBAL_REMOVE_IF_UNREFERENCED" to prevent component name struct...
[mirror_edk2.git] / Nt32Pkg / WinNtConsoleDxe / ComponentName.c
index 4fa470ab139e6f133f695ca101d82fee032d83db..b9770887c88ac1bbd1fd737c2d4e6a17c2bdd95f 100644 (file)
@@ -175,20 +175,20 @@ WinNtConsoleComponentNameGetControllerName (
 //\r
 // EFI Component Name Protocol\r
 //\r
-EFI_COMPONENT_NAME_PROTOCOL  gWinNtConsoleComponentName = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME_PROTOCOL  gWinNtConsoleComponentName = {\r
   WinNtConsoleComponentNameGetDriverName,\r
   WinNtConsoleComponentNameGetControllerName,\r
   "eng"\r
-  };\r
+};\r
 \r
 //\r
 // EFI Component Name 2 Protocol\r
 //\r
-EFI_COMPONENT_NAME2_PROTOCOL gWinNtConsoleComponentName2 = {\r
+GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME2_PROTOCOL gWinNtConsoleComponentName2 = {\r
   (EFI_COMPONENT_NAME2_GET_DRIVER_NAME) WinNtConsoleComponentNameGetDriverName,\r
   (EFI_COMPONENT_NAME2_GET_CONTROLLER_NAME) WinNtConsoleComponentNameGetControllerName,\r
   "en"\r
-  };\r
+};\r
 \r
 \r
 static EFI_UNICODE_STRING_TABLE mWinNtConsoleDriverNameTable[] = {\r