Skip to content

Commit

Permalink
fixed two spots of gcc 4.6 warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
agentzh committed Nov 29, 2011
1 parent c9f5e02 commit 7a4617f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ngx_http_lua_regex.c
Expand Up @@ -95,7 +95,7 @@ ngx_http_lua_ngx_re_match(lua_State *L)
int i;
ngx_int_t pos = 0;
int nargs;
int *cap;
int *cap = NULL;
int ovecsize;
ngx_uint_t flags;
ngx_pool_t *pool, *old_pool;
Expand Down Expand Up @@ -1120,7 +1120,7 @@ ngx_http_lua_ngx_re_sub_helper(lua_State *L, unsigned global)
ngx_uint_t n;
ngx_int_t i;
int nargs;
int *cap;
int *cap = NULL;
int ovecsize;
int type;
unsigned func;
Expand Down

0 comments on commit 7a4617f

Please sign in to comment.