/* When ambsalign fails, output unaligned data. */
fputs (cell ? cell : table[row][col], stdout);
free (cell);
-
- IF_LINT (free (table[row][col]));
}
putchar ('\n');
- IF_LINT (free (table[row]));
}
-
- IF_LINT (free (table));
}
/* Dynamically allocate a struct field_t in COLUMNS, which
int
main (int argc, char **argv)
{
- struct stat *stats IF_LINT ( = 0);
+ struct stat *stats = NULL;
initialize_main (&argc, &argv);
set_program_name (argv[0]);
get_field_list ();
get_header ();
- if (optind < argc)
+ if (stats)
{
/* Display explicitly requested empty file systems. */
show_listed_fs = true;
for (int i = optind; i < argc; ++i)
if (argv[i])
get_entry (argv[i], &stats[i - optind]);
-
- IF_LINT (free (stats));
}
else
get_all_entries ();
die (EXIT_FAILURE, 0, _("no file systems processed"));
}
- IF_LINT (free (columns));
-
- return exit_status;
+ main_exit (exit_status);
}