Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixed compilation warnings with gcc 4.6.

  • Loading branch information...
commit d9809d0870fb1ba63cd81f494d7bacea5fc4a4d2 1 parent 2fc79cb
@agentzh agentzh authored
Showing with 2 additions and 6 deletions.
  1. +2 −6 ngx_http_eval_module.c
View
8 ngx_http_eval_module.c
@@ -648,7 +648,7 @@ ngx_http_eval_add_variables(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
static char *
ngx_http_eval_block(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
{
- ngx_http_eval_loc_conf_t *ecf, *pecf = conf;
+ ngx_http_eval_loc_conf_t *pecf = conf;
char *rv;
void *mconf;
@@ -657,7 +657,7 @@ ngx_http_eval_block(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
ngx_conf_t save;
ngx_http_module_t *module;
ngx_http_conf_ctx_t *ctx, *pctx;
- ngx_http_core_loc_conf_t *clcf, *pclcf, *rclcf;
+ ngx_http_core_loc_conf_t *clcf, *rclcf;
ngx_http_core_srv_conf_t *cscf;
#if defined(nginx_version) && nginx_version >= 8042 && nginx_version <= 8053
@@ -700,10 +700,6 @@ ngx_http_eval_block(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
}
}
- ecf = ctx->loc_conf[ngx_http_eval_module.ctx_index];
-
- pclcf = pctx->loc_conf[ngx_http_core_module.ctx_index];
-
clcf = ctx->loc_conf[ngx_http_core_module.ctx_index];
name.len = sizeof("/eval_") - 1 + NGX_OFF_T_LEN;
Please sign in to comment.
Something went wrong with that request. Please try again.