diff options
author | Valentin Bartenev <vbart@nginx.com> | 2011-12-06 19:49:40 +0400 |
---|---|---|
committer | Valentin Bartenev <vbart@nginx.com> | 2011-12-06 19:49:40 +0400 |
commit | 5ee62edffe1ead7cbb94ac706fabe8f45432f7b3 (patch) | |
tree | 6e9fdb377960bda2242322f7d5b84b849b0c461d /src/core/ngx_regex.c | |
parent | 8618370487c4b5bc332af17a610a0cb93f89fc4c (diff) |
Removed unused function ngx_regex_capture_count().
The function has been unused since r3326.
Diffstat (limited to 'src/core/ngx_regex.c')
-rw-r--r-- | src/core/ngx_regex.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/core/ngx_regex.c b/src/core/ngx_regex.c index 984a28aa9..af00f8319 100644 --- a/src/core/ngx_regex.c +++ b/src/core/ngx_regex.c @@ -137,23 +137,6 @@ failed: ngx_int_t -ngx_regex_capture_count(ngx_regex_t *re) -{ - int rc, n; - - n = 0; - - rc = pcre_fullinfo(re, NULL, PCRE_INFO_CAPTURECOUNT, &n); - - if (rc < 0) { - return (ngx_int_t) rc; - } - - return (ngx_int_t) n; -} - - -ngx_int_t ngx_regex_exec_array(ngx_array_t *a, ngx_str_t *s, ngx_log_t *log) { ngx_int_t n; |