]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
More cleanup of unused variables.
authorTim Kientzle <kientzle@gmail.com>
Sat, 17 May 2008 07:45:39 +0000 (03:45 -0400)
committerTim Kientzle <kientzle@gmail.com>
Sat, 17 May 2008 07:45:39 +0000 (03:45 -0400)
SVN-Revision: 64

tar/read.c
tar/write.c

index 9718d70ddbbd233b7652b1fd388af0b99b6d5257..edb33cb45431213a335a18b9c1c8549e482bdc1b 100644 (file)
@@ -98,7 +98,6 @@ read_archive(struct bsdtar *bsdtar, char mode)
        struct archive_entry     *entry;
        const struct stat        *st;
        int                       r;
-       char                     *subst_name;
 
        while (*bsdtar->argv) {
                include(bsdtar, *bsdtar->argv);
index 8110f1a67a7a3109bd37f33fa0c703b2ff2437a4..0e6d267fcf7aafbd78cf10aa7d304726ee9b8f68 100644 (file)
@@ -817,7 +817,6 @@ write_entry(struct bsdtar *bsdtar, struct archive *a, const struct stat *st,
     const char *pathname, const char *accpath)
 {
        struct archive_entry    *entry, *sparse_entry;
-       int                      e;
        int                      fd;
 #ifdef __linux
        int                      r;