Gerald Pfeifer : cmd: Remove variable useinput which is not really used from WCMD_more.

Alexandre Julliard julliard at winehq.org
Wed May 5 11:08:36 CDT 2010


Module: wine
Branch: master
Commit: 5b0de0d569f9621967fc38bf8b686f4ae9d0962a
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=5b0de0d569f9621967fc38bf8b686f4ae9d0962a

Author: Gerald Pfeifer <gerald at pfeifer.com>
Date:   Wed May  5 00:24:38 2010 +0200

cmd: Remove variable useinput which is not really used from WCMD_more.

---

 programs/cmd/builtins.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/programs/cmd/builtins.c b/programs/cmd/builtins.c
index b75c0c4..0573114 100644
--- a/programs/cmd/builtins.c
+++ b/programs/cmd/builtins.c
@@ -2353,7 +2353,6 @@ void WCMD_more (WCHAR *command) {
 
   int   argno         = 0;
   WCHAR *argN          = command;
-  BOOL  useinput      = FALSE;
   WCHAR  moreStr[100];
   WCHAR  moreStrPage[100];
   WCHAR  buffer[512];
@@ -2385,7 +2384,6 @@ void WCMD_more (WCHAR *command) {
 
     /* Warning: No easy way of ending the stream (ctrl+z on windows) so
        once you get in this bit unless due to a pipe, its going to end badly...  */
-    useinput = TRUE;
     wsprintfW(moreStrPage, moreFmt, moreStr);
 
     WCMD_enter_paged_mode(moreStrPage);




More information about the wine-cvs mailing list