]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkModulePkg/Application/HelloWorld/HelloWorld.c
Remove the unreferenced local variable.
[mirror_edk2.git] / EdkModulePkg / Application / HelloWorld / HelloWorld.c
index cd6113fb771ed140df447000902df86be3cc7287..8a299898d512e202bb7e6433403f28495dba4597 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
-  This driver supports platform security service\r
-\r
-  Copyright (c) 2006, Intel Corporation                                                         \r
+  This simple application just print a "UEFI Hello World!" to the UEFI Console.\r
+  \r
+  Copyright (c) 2006 - 2007, Intel Corporation                                                         \r
   All rights reserved. This program and the accompanying materials                          \r
   are licensed and made available under the terms and conditions of the BSD License         \r
   which accompanies this distribution.  The full text of the license may be found at        \r
 \r
 **/\r
 \r
-STATIC\r
-VOID\r
-Print (\r
-  IN CONST CHAR16  *Format,\r
-  ...\r
-  )\r
-{\r
-  CHAR16  PrintBuffer[0x100];\r
-  VA_LIST Marker;\r
-\r
-  VA_START (Marker, Format);\r
-  UnicodeVSPrint (PrintBuffer, sizeof (PrintBuffer), Format, Marker);\r
-  gST->ConOut->OutputString (gST->ConOut, PrintBuffer);\r
-  return;\r
-}\r
-\r
 EFI_STATUS\r
 EFIAPI\r
 UefiMain (\r
@@ -36,6 +20,8 @@ UefiMain (
   )\r
 \r
 {\r
+  \r
   Print ((CHAR16 *)L"UEFI Hello World!\n");\r
+\r
   return EFI_SUCCESS;\r
 }\r