]> 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 f3eda071e45870095435e70c37a0145f155d811b..8a299898d512e202bb7e6433403f28495dba4597 100644 (file)
@@ -1,38 +1,16 @@
-/*++\r
-\r
-Copyright (c) 2006, 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
-http://opensource.org/licenses/bsd-license.php                                            \r
-                                                                                          \r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     \r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             \r
-\r
-Module Name:\r
-\r
-  HelloWorld.c\r
-\r
-Abstract:\r
+/** @file\r
+  This simple application just print a "UEFI Hello World!" to the UEFI Console.\r
   \r
-  This driver supports platform security service\r
-\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
+  http://opensource.org/licenses/bsd-license.php                                            \r
 \r
-VOID\r
-Print (\r
-  IN CONST CHAR16  *Format,\r
-  ...\r
-  )\r
-{\r
-  CHAR16  PrintBuffer[0x100];\r
-  VA_LIST Marker;\r
+  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     \r
+  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             \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
 \r
 EFI_STATUS\r
 EFIAPI\r
@@ -42,6 +20,8 @@ UefiMain (
   )\r
 \r
 {\r
+  \r
   Print ((CHAR16 *)L"UEFI Hello World!\n");\r
+\r
   return EFI_SUCCESS;\r
 }\r