mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
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:
parent
4a522e3b17
commit
baa812ca95
1 changed files with 1 additions and 1 deletions
|
@ -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++;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue