Commit 5b0de0d5 authored by Gerald Pfeifer's avatar Gerald Pfeifer Committed by Alexandre Julliard

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

parent f215784e
...@@ -2353,7 +2353,6 @@ void WCMD_more (WCHAR *command) { ...@@ -2353,7 +2353,6 @@ void WCMD_more (WCHAR *command) {
int argno = 0; int argno = 0;
WCHAR *argN = command; WCHAR *argN = command;
BOOL useinput = FALSE;
WCHAR moreStr[100]; WCHAR moreStr[100];
WCHAR moreStrPage[100]; WCHAR moreStrPage[100];
WCHAR buffer[512]; WCHAR buffer[512];
...@@ -2385,7 +2384,6 @@ void WCMD_more (WCHAR *command) { ...@@ -2385,7 +2384,6 @@ void WCMD_more (WCHAR *command) {
/* Warning: No easy way of ending the stream (ctrl+z on windows) so /* 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... */ once you get in this bit unless due to a pipe, its going to end badly... */
useinput = TRUE;
wsprintfW(moreStrPage, moreFmt, moreStr); wsprintfW(moreStrPage, moreFmt, moreStr);
WCMD_enter_paged_mode(moreStrPage); WCMD_enter_paged_mode(moreStrPage);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment