]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Remove unused variables
authorTim Kientzle <kientzle@acm.org>
Sun, 1 Dec 2013 23:09:25 +0000 (15:09 -0800)
committerTim Kientzle <kientzle@acm.org>
Sun, 1 Dec 2013 23:09:25 +0000 (15:09 -0800)
libarchive/archive_write_set_format_zip.c

index cb5718d3128b9a03d98d75ade2e5735f06382c4b..2c8c3ca1bde56e4d24aa6ed3e7dd47d1427ec048 100644 (file)
@@ -934,7 +934,6 @@ write_path(struct archive_entry *entry, struct archive_write *archive)
 static void
 copy_path(struct archive_entry *entry, unsigned char *p)
 {
-       int ret;
        const char *path;
        size_t pathlen;
        mode_t type;
@@ -956,8 +955,6 @@ copy_path(struct archive_entry *entry, unsigned char *p)
 static struct archive_string_conv *
 get_sconv(struct archive_write *a, struct zip *zip)
 {
-       struct archive_string_conv *sconv;
-
        if (zip->opt_sconv != NULL)
                return (zip->opt_sconv);