Unused variable on system without (usable) iconv #15

Closed
nanaya opened this Issue May 26, 2012 · 0 comments

Comments

1 participant
Contributor

nanaya commented May 26, 2012

This variable in ngx_http_zip_file.c

static ngx_str_t ngx_http_zip_header_charset_name = ngx_string("upstream_http_x_archive_charset");

causes compilation error on system without usable iconv thanks to -Werror and -Wunused-variable. It should be wrapped with proper ifdef.

@nanaya nanaya referenced this issue May 30, 2016

Merged

No iconv fix #54

@evanmiller evanmiller closed this in #54 May 30, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment