* src/compare.c (diff_dumpdir): Omit useless 'stat'.

This commit is contained in:
Paul Eggert
2012-04-24 22:05:43 -07:00
parent 273dfb16cc
commit 6a61354ea0

View File

@@ -362,15 +362,6 @@ static void
diff_dumpdir (struct tar_stat_info *dir)
{
const char *dumpdir_buffer;
struct stat stat_data;
if (deref_stat (dir->file_name, &stat_data) != 0)
{
if (errno == ENOENT)
stat_warn (dir->file_name);
else
stat_error (dir->file_name);
}
if (dir->fd == 0)
{