mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Simplified condition
This commit is contained in:
parent
ddac2852dc
commit
37f7c71f3e
1 changed files with 1 additions and 1 deletions
|
@ -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++;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue