]> Dogcows Code - chaz/tar/commitdiff
* src/compare.c (diff_dumpdir): Omit useless 'stat'.
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 25 Apr 2012 05:05:43 +0000 (22:05 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 25 Apr 2012 05:06:00 +0000 (22:06 -0700)
src/compare.c

index ea41cb35090aadbbc52d9fdc10ff9eef57ffe13d..7c514b96e3129ab4d205bbf512d12e4990bf686e 100644 (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)
     {
This page took 0.022603 seconds and 4 git commands to generate.