]> Dogcows Code - chaz/tar/commit
tar: remove lint
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 11 Mar 2012 20:00:52 +0000 (13:00 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 11 Mar 2012 20:01:51 +0000 (13:01 -0700)
commit5bb04335079011dfbd8547151d402b07ed152291
treeb43dc78fd50e8a6aa0b3aecc8ba1329c4bdf827a
parent8c75b1387a33fdbf3cbc8ba8bfa0ab1851d30894
tar: remove lint

This lint was found by GCC 4.6.2 on Fedora 15 x86-64.
* src/buffer.c (buffer_write_global_xheader, mv_end, set_start_time)
(compute_duration, print_total_stats, flush_read, flush_write):
* src/checkpoint.c (checkpoint_finish_compile):
* src/list.c (test_archive_label):
* src/misc.c (chdir_count):
* src/names.c (const):
* src/unlink.c (finish_deferred_unlinks):
Define with (void) instead of with (), for slightly-better C type
checking and to avoid a GCC warning.
* src/compare.c (diff_dumpdir):
* src/tar.c (parse_owner_group): Remove unused local.
* src/misc.c (chdir_do):
* src/tar.c (add_exclude_array): Rename local to avoid shadowing.
(LOW_DENSITY_NUM, MID_DENSITY_NUM, HIGH_DENSITY_NUM):
Define only if needed.
* src/update.c (update_archive): Initialize a local; this fixes
what appears to be a real bug.
src/buffer.c
src/checkpoint.c
src/compare.c
src/list.c
src/misc.c
src/names.c
src/tar.c
src/unlink.c
src/update.c
This page took 0.030543 seconds and 4 git commands to generate.