Removed a surplus condition in php_register_variable_ex()

The test for equality to " " implies that the character isn't NUL.
This commit is contained in:
Valentin V. Bartenev 2016-06-29 20:57:28 +03:00 committed by Nikita Popov
parent 4a522e3b17
commit baa812ca95

View file

@ -79,7 +79,7 @@ PHPAPI void php_register_variable_ex(char *var_name, zval *val, zval *track_vars
/* ignore leading spaces in the variable name */
while (*var_name && *var_name==' ') {
while (*var_name==' ') {
var_name++;
}