X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fcompare.c;h=7c514b96e3129ab4d205bbf512d12e4990bf686e;hb=6a61354ea0dd97af5c87643e9bf5dfd2a31f2cea;hp=ea41cb35090aadbbc52d9fdc10ff9eef57ffe13d;hpb=273dfb16cc65142c9afe55c249eb051c76637d5f;p=chaz%2Ftar diff --git a/src/compare.c b/src/compare.c index ea41cb3..7c514b9 100644 --- a/src/compare.c +++ b/src/compare.c @@ -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) {