com php-src: removed warnings in newly implemented pcre range cehcks: ext/pcre/php_pcre.c
| From: | Anatol Belski | Date: | Thu, 05 Dec 2013 11:38:11 +0000 |
| Subject: | com php-src: removed warnings in newly implemented pcre range cehcks: ext/pcre/php_pcre.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-74255@lists.php.net to get a copy of this message | ||
Commit: 122805100a45b396d2849aa61c222851beca5a3e
Author: Anatol Belski <ab@php.net> Thu, 5 Dec 2013 12:38:11 +0100
Parents: 4d703a4225977b0c6abb2f88c2fe56732d6452a1
Branches: str_size_and_int64
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=122805100a45b396d2849aa61c222851beca5a3e
Log:
removed warnings in newly implemented pcre range cehcks
Changed paths:
M ext/pcre/php_pcre.c
Diff:
diff --git a/ext/pcre/php_pcre.c b/ext/pcre/php_pcre.c
index 05dad38..1a52216 100644
--- a/ext/pcre/php_pcre.c
+++ b/ext/pcre/php_pcre.c
@@ -121,7 +121,6 @@ static PHP_INI_MH(OnChangeBacktrackLimit)
ZEND_ATOI(i, new_value);
if (i > (unsigned long)-1) {
- php_error_docref(NULL TSRMLS_CC, E_WARNING, "Value '%pd' is too big for
pcre.backtrack_limit", i);
return FAILURE;
}
@@ -137,7 +136,6 @@ static PHP_INI_MH(OnChangeRecursionLimit)
ZEND_ATOI(i, new_value);
if (i > (unsigned long)-1) {
- php_error_docref(NULL TSRMLS_CC, E_WARNING, "Value '%pd' is too big for
pcre.recursion_limit", i);
return FAILURE;
}