From 4ce38304bbdbcc8a2aa03fa4016ffaa212164f40 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Fri, 28 Aug 2020 10:12:28 +0200 Subject: [PATCH] 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. --- ext/standard/basic_functions.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ext/standard/basic_functions.h b/ext/standard/basic_functions.h index 8308904e50..6c0eb5c59e 100644 --- a/ext/standard/basic_functions.h +++ b/ext/standard/basic_functions.h @@ -65,8 +65,7 @@ typedef struct _php_basic_globals { zend_bool locale_changed; /* locale was changed and has to be restored */ char *strtok_last; char strtok_table[256]; - zend_ulong strtok_len; - char str_ebuf[40]; + size_t strtok_len; zend_fcall_info array_walk_fci; zend_fcall_info_cache array_walk_fci_cache; zend_fcall_info user_compare_fci; -- 2.50.1