commit: 7b070c736d6ee331a7b0f19e090667434f6383e0
parent 3b2cdee6bea740511c3b2c61997ad98b3bf2d5de
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Mon, 24 Feb 2025 21:19:11 +0100
remove leftover `c` declaration from move to for(;getopt;)
Fixes up commit 60f4d370a4ea9482b66176f1b2e8a7f5d504c7c6
Diffstat:
2 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/cmd/seq.c b/cmd/seq.c
@@ -78,8 +78,6 @@ usage(void)
int
main(int argc, char *argv[])
{
- int c;
-
for(int c = -1; (c = getopt(argc, argv, ":ws:t:")) != -1;)
{
switch(c)
diff --git a/cmd/strings.c b/cmd/strings.c
@@ -102,7 +102,6 @@ usage(void)
int
main(int argc, char *argv[])
{
- int c;
for(int c = -1; (c = getopt(argc, argv, ":an:t:z")) != -1;)
{
char *endptr = NULL;