From: Collin Funk Date: Fri, 20 Feb 2026 05:11:27 +0000 (-0800) Subject: maint: wc: prefer static initialization X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ecf3f98eec0ce8e7991fd4956374b604527c80da;p=thirdparty%2Fcoreutils.git maint: wc: prefer static initialization * src/wc.c (main): Remove unnecessary initializations. --- diff --git a/src/wc.c b/src/wc.c index eb6c3d9e4e..2e2a9b03cb 100644 --- a/src/wc.c +++ b/src/wc.c @@ -813,10 +813,6 @@ main (int argc, char **argv) posixly_correct = (getenv ("POSIXLY_CORRECT") != NULL); - print_lines = print_words = print_chars = print_bytes = false; - print_linelength = false; - total_lines = total_words = total_chars = total_bytes = max_line_length = 0; - while ((optc = getopt_long (argc, argv, "clLmw", longopts, NULL)) != -1) switch (optc) {