commit: 8d257696be7383ff8533e50b893f93365bea9756
Author: Kerin Millar <kfm <AT> plushkava <DOT> net>
AuthorDate: Sat Jun 10 23:22:57 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jun 11 08:32:19 2023 +0000
URL:
https://gitweb.gentoo.org/proj/gentoo-functions.git/commit/?id=8d257696
ecma48-cpr: Don't assign to new_tty twice
Signed-off-by: Kerin Millar <kfm <AT> plushkava.net>
ecma48-cpr.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/ecma48-cpr.c b/ecma48-cpr.c
index 813621e..4710b39 100644
--- a/ecma48-cpr.c
+++ b/ecma48-cpr.c
@@ -72,7 +72,6 @@ main(void) {
* Duplicate the current terminal settings for modification.
*/
struct termios new_tty = save_tty;
- new_tty = save_tty;
/*
* Turn off ECHO, so that the response from the terminal isn't printed.