From 5b0de0d569f9621967fc38bf8b686f4ae9d0962a Mon Sep 17 00:00:00 2001 From: Gerald Pfeifer Date: Wed, 5 May 2010 00:24:38 +0200 Subject: [PATCH] cmd: Remove variable useinput which is not really used from WCMD_more. --- programs/cmd/builtins.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/programs/cmd/builtins.c b/programs/cmd/builtins.c index b75c0c4f92a..05731143630 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);