* src/touch.c (main): Declare variables where they are used instead of
at the start of the function.
int
main (int argc, char **argv)
{
- int c;
bool date_set = false;
- bool ok = true;
char const *flex_date = NULL;
initialize_main (&argc, &argv);
atexit (close_stdout);
+ int c;
while ((c = getopt_long (argc, argv, "acd:fhmr:t:", longopts, NULL)) != -1)
{
switch (c)
usage (EXIT_FAILURE);
}
+ bool ok = true;
for (; optind < argc; ++optind)
ok &= touch (argv[optind]);