X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fcompare.c;h=7c514b96e3129ab4d205bbf512d12e4990bf686e;hb=1cd272522797dbdb87d2c140ea2079416b3b47cc;hp=2fc72b73a0357d517da4bd3bf214a490adf3ec63;hpb=debc485626c0c143731b0ca229d18b48085bb2ef;p=chaz%2Ftar diff --git a/src/compare.c b/src/compare.c index 2fc72b7..7c514b9 100644 --- a/src/compare.c +++ b/src/compare.c @@ -362,18 +362,6 @@ static void diff_dumpdir (struct tar_stat_info *dir) { const char *dumpdir_buffer; - dev_t dev = 0; - 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); - } - else - dev = stat_data.st_dev; if (dir->fd == 0) {