From: Collin Funk Date: Fri, 20 Feb 2026 03:52:29 +0000 (-0800) Subject: maint: tty: prefer static initialization X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=300ef2e63b72fc2778fc5bc5a6a8eb9aeee7dcc9;p=thirdparty%2Fcoreutils.git maint: tty: prefer static initialization * src/tty.c (main): Remove unnecessary initialization. --- diff --git a/src/tty.c b/src/tty.c index 24c98f75cd..7946fb78e1 100644 --- a/src/tty.c +++ b/src/tty.c @@ -92,8 +92,6 @@ main (int argc, char **argv) initialize_exit_failure (TTY_WRITE_ERROR); atexit (close_stdout); - silent = false; - while ((optc = getopt_long (argc, argv, "s", longopts, NULL)) != -1) { switch (optc)