Simplified condition

This commit is contained in:
Dmitry Stogov 2016-04-29 12:33:54 +03:00
parent ddac2852dc
commit 37f7c71f3e

View File

@ -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++;