[nginx] svn commit: r4327 - trunk/src/core

vbart at nginx.com vbart at nginx.com
Tue Dec 6 15:49:40 UTC 2011


Author: vbart
Date: 2011-12-06 15:49:40 +0000 (Tue, 06 Dec 2011)
New Revision: 4327

Modified:
   trunk/src/core/ngx_regex.c
Log:
Removed unused function ngx_regex_capture_count().
The function has been unused since r3326.


Modified: trunk/src/core/ngx_regex.c
===================================================================
--- trunk/src/core/ngx_regex.c	2011-12-06 13:23:37 UTC (rev 4326)
+++ trunk/src/core/ngx_regex.c	2011-12-06 15:49:40 UTC (rev 4327)
@@ -137,23 +137,6 @@
 
 
 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;



More information about the nginx-devel mailing list