diff options
author | Dmitry Stogov <dmitry@zend.com> | 2016-04-29 12:33:54 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2016-04-29 12:33:54 +0300 |
commit | 37f7c71f3e23d735cd3b75a0e2e05b6de95d3ad5 (patch) | |
tree | b6b1fedf8facb0446d8d617d1d4217a8ceec1cbd /ext/pcre/php_pcre.c | |
parent | ddac2852dc577c1f244bcdf1c665aacdff48637e (diff) | |
download | php-git-37f7c71f3e23d735cd3b75a0e2e05b6de95d3ad5.tar.gz |
Simplified condition
Diffstat (limited to 'ext/pcre/php_pcre.c')
-rw-r--r-- | ext/pcre/php_pcre.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pcre/php_pcre.c b/ext/pcre/php_pcre.c index f6f86304e5..35ba1a06f1 100644 --- a/ext/pcre/php_pcre.c +++ b/ext/pcre/php_pcre.c @@ -1030,7 +1030,7 @@ static int preg_get_backref(char **str, int *backref) } if (in_brace) { - if (*walk == 0 || *walk != '}') + if (*walk != '}') return 0; else walk++; |