applied, thanks!

On Thu, Jan 5, 2017 at 5:11 PM, Cristian Ionescu-Idbohrn
<cristian.ionescu-idbo...@axis.com> wrote:
> archival/unzip.c: In function 'read_next_cdf':
> archival/unzip.c:271:8: warning: variable 'org' set but
>                                  not used [-Wunused-but-set-variable]
>   off_t org;
>         ^~~
>
> Signed-off-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbo...@axis.com>
> ---
>  archival/unzip.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/archival/unzip.c b/archival/unzip.c
> index f1726439d..856abce36 100644
> --- a/archival/unzip.c
> +++ b/archival/unzip.c
> @@ -268,13 +268,13 @@ static uint32_t find_cdf_offset(void)
>
>  static uint32_t read_next_cdf(uint32_t cdf_offset, cdf_header_t *cdf_ptr)
>  {
> -       off_t org;
> +       /* off_t org; */
>         uint32_t magic;
>
>         if (cdf_offset == BAD_CDF_OFFSET)
>                 return cdf_offset;
>
> -       org = xlseek(zip_fd, 0, SEEK_CUR);
> +       /* org = xlseek(zip_fd, 0, SEEK_CUR); */
>         dbg("Reading CDF at 0x%x", (unsigned)cdf_offset);
>         xlseek(zip_fd, cdf_offset, SEEK_SET);
>         xread(zip_fd, &magic, 4);
> --
> 2.11.0
>
> _______________________________________________
> busybox mailing list
> busybox@busybox.net
> http://lists.busybox.net/mailman/listinfo/busybox
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to