public inbox for cygwin-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin/cygwin-3_3-branch] Cygwin: console: Remove unnecessary (redundant) code.
@ 2022-02-05  8:01 Takashi Yano
  0 siblings, 0 replies; only message in thread
From: Takashi Yano @ 2022-02-05  8:01 UTC (permalink / raw)
  To: cygwin-cvs

https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=cf47cea36a44a15f031cdf74d9d98c406819f6c4

commit cf47cea36a44a15f031cdf74d9d98c406819f6c4
Author: Takashi Yano <takashi.yano@nifty.ne.jp>
Date:   Sat Feb 5 16:52:33 2022 +0900

    Cygwin: console: Remove unnecessary (redundant) code.

Diff:
---
 winsup/cygwin/fhandler_console.cc | 2 --
 1 file changed, 2 deletions(-)

diff --git a/winsup/cygwin/fhandler_console.cc b/winsup/cygwin/fhandler_console.cc
index 65325adeb..23421dbfa 100644
--- a/winsup/cygwin/fhandler_console.cc
+++ b/winsup/cygwin/fhandler_console.cc
@@ -2177,7 +2177,6 @@ fhandler_console::char_command (char c)
 	      if (y == con.b.srWindow.Bottom)
 		{
 		  WriteConsoleW (get_output_handle (), L"\033[2K", 4, 0, 0);
-		  wpbuf.empty ();
 		  break;
 		}
 	      if (y == con.b.srWindow.Top
@@ -2222,7 +2221,6 @@ fhandler_console::char_command (char c)
 	      if (y == con.b.srWindow.Bottom)
 		{
 		  WriteConsoleW (get_output_handle (), L"\033[2K", 4, 0, 0);
-		  wpbuf.empty ();
 		  break;
 		}
 	      __small_swprintf (bufw, L"\033[%d;%dr",


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-02-05  8:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-05  8:01 [newlib-cygwin/cygwin-3_3-branch] Cygwin: console: Remove unnecessary (redundant) code Takashi Yano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).