Explorar o código

Removed unused variables

Sergey Poznyakoff %!s(int64=21) %!d(string=hai) anos
pai
achega
22c2e2ab8a
Modificáronse 1 ficheiros con 0 adicións e 5 borrados
  1. 0 5
      src/create.c

+ 0 - 5
src/create.c

@@ -548,7 +548,6 @@ static union block *
 write_extended (struct tar_stat_info *st, union block *old_header)
 write_extended (struct tar_stat_info *st, union block *old_header)
 {
 {
   union block *header, hp;
   union block *header, hp;
-  size_t size;
   char *p;
   char *p;
 
 
   if (extended_header.buffer || extended_header.stk == NULL)
   if (extended_header.buffer || extended_header.stk == NULL)
@@ -771,10 +770,6 @@ void
 finish_header (struct tar_stat_info *st,
 finish_header (struct tar_stat_info *st,
 	       union block *header, off_t block_ordinal)
 	       union block *header, off_t block_ordinal)
 {
 {
-  size_t i;
-  int sum;
-  char *p;
-
   /* Note: It is important to do this before the call to write_extended(),
   /* Note: It is important to do this before the call to write_extended(),
      so that the actual ustar header is printed */
      so that the actual ustar header is printed */
   if (verbose_option
   if (verbose_option