]> git.proxmox.com Git - mirror_edk2.git/blobdiff - StdLib/LibC/Uefi/InteractiveIO/IIOwrite.c
StdLib: Fix GCC warnings/errors caused by variables being set but not used.
[mirror_edk2.git] / StdLib / LibC / Uefi / InteractiveIO / IIOwrite.c
index 927f4f4ff3f152ad32ba3079267c8c042bd12e6c..ef52cc890e24c5203be5d707bc73825143eb2e5b 100644 (file)
@@ -8,7 +8,7 @@
   It is the responsibility of the caller, or higher level function, to perform\r
   any necessary translation between wide and narrow characters.\r
 \r
-  Copyright (c) 2012, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2012 - 2014, Intel Corporation. All rights reserved.<BR>\r
   This program and the accompanying materials are licensed and made available\r
   under the terms and conditions of the BSD License which accompanies this\r
   distribution.  The full text of the license may be found at\r
@@ -63,7 +63,6 @@ IIO_WriteOne(struct __filedes *filp, cFIFO *OBuf, wchar_t InCh)
   UINT32              CurRow;       // Current cursor row on the screen\r
   UINT32              PrevColumn;   // Previous column.  Used to detect wrapping.\r
   UINT32              AdjColumn;    // Current cursor column on the screen\r
-  UINT32              AdjRow;       // Current cursor row on the screen\r
 \r
   RetVal    = -1;\r
   wcb       = wc;\r
@@ -79,7 +78,6 @@ IIO_WriteOne(struct __filedes *filp, cFIFO *OBuf, wchar_t InCh)
     CurRow    = This->CurrentXY.Row;\r
 \r
     numW      = 1;          // The majority of characters buffer one character\r
-    AdjRow    = 0;          // Most characters just cause horizontal movement\r
     AdjColumn = 0;\r
     if(OFlag & OPOST) {\r
       /* Perform output processing */\r
@@ -127,7 +125,6 @@ IIO_WriteOne(struct __filedes *filp, cFIFO *OBuf, wchar_t InCh)
             numW  = 2;\r
             CurColumn = 0;\r
           }\r
-          AdjRow = 1;\r
           break;                      //}}\r
 \r
         case CHAR_BACKSPACE:          //{{\r