From: Jo-Philipp Wich Date: Tue, 14 Mar 2017 23:52:47 +0000 (+0100) Subject: libbb: remove unused variables X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=6fbf8a9c3613f7ea21095f1d80389e511f7ddd87;p=oweals%2Fopkg-lede.git libbb: remove unused variables Remove unused variables from deb_extract() to avoid compiler warnings. Signed-off-by: Jo-Philipp Wich --- diff --git a/libbb/unarchive.c b/libbb/unarchive.c index 6edb5b6..31486e2 100644 --- a/libbb/unarchive.c +++ b/libbb/unarchive.c @@ -523,15 +523,11 @@ char *deb_extract(const char *package_filename, FILE * out_stream, const char *filename, int *err) { FILE *deb_stream = NULL; - file_header_t *ar_header = NULL; const char **file_list = NULL; char *output_buffer = NULL; char *ared_file = NULL; - char ar_magic[8]; - int gz_err; struct gzip_handle tar_outer = { }, tar_inner = { }; file_header_t *tar_header; - ssize_t len; *err = 0;