Remove unused BG(str_ebuf) global

Also change BG(strtok_len) to size_t. This stores a string length,
so it should be size_t rather than zend_ulong.
This commit is contained in:
Nikita Popov 2020-08-28 10:12:28 +02:00
parent df5011f56c
commit 4ce38304bb

View file

@ -65,8 +65,7 @@ typedef struct _php_basic_globals {
zend_bool locale_changed; /* locale was changed and has to be restored */ zend_bool locale_changed; /* locale was changed and has to be restored */
char *strtok_last; char *strtok_last;
char strtok_table[256]; char strtok_table[256];
zend_ulong strtok_len; size_t strtok_len;
char str_ebuf[40];
zend_fcall_info array_walk_fci; zend_fcall_info array_walk_fci;
zend_fcall_info_cache array_walk_fci_cache; zend_fcall_info_cache array_walk_fci_cache;
zend_fcall_info user_compare_fci; zend_fcall_info user_compare_fci;