maint: wc: prefer static initialization

* src/wc.c (main): Remove unnecessary initializations.
This commit is contained in:
Collin Funk committed 2026-02-19 21:11:27 -08:00
1 parent 85dde4c2d9
commit ecf3f98eec
1 file changed
-4
-4
View File
@@ -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)
{