Skip to content

Commit 4ce3830

Browse files
committed
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.
1 parent df5011f commit 4ce3830

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ext/standard/basic_functions.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,7 @@ typedef struct _php_basic_globals {
6565
zend_bool locale_changed; /* locale was changed and has to be restored */
6666
char *strtok_last;
6767
char strtok_table[256];
68-
zend_ulong strtok_len;
69-
char str_ebuf[40];
68+
size_t strtok_len;
7069
zend_fcall_info array_walk_fci;
7170
zend_fcall_info_cache array_walk_fci_cache;
7271
zend_fcall_info user_compare_fci;

0 commit comments

Comments
 (0)