]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Remove unneeded code.
authorMichihiro NAKAJIMA <ggcueroad@gmail.com>
Sat, 4 Oct 2014 15:06:33 +0000 (00:06 +0900)
committerMichihiro NAKAJIMA <ggcueroad@gmail.com>
Sat, 4 Oct 2014 15:16:04 +0000 (00:16 +0900)
libarchive/archive_read_support_format_lha.c

index 223ef02f6fbe7f064427222010418dc61eef98a1..953a16c922f1fb9247b3d01a06591b78c27b609d 100644 (file)
@@ -1777,7 +1777,6 @@ lzh_decode_init(struct lzh_stream *strm, const char *method)
                return (ARCHIVE_FAILED);/* Not supported. */
        }
        ds->error = ARCHIVE_FATAL;
-       w_size = ds->w_size;
        /* Expand a window size up to 128 KiB for decompressing process
         * performance whatever its original window size is. */
        ds->w_size = 1U << 17;