Skip to content

Commit 42530c6

Browse files
authored
Remove unused SMART_STR_PREALLOC (#14848)
1 parent f4af8f3 commit 42530c6

File tree

3 files changed

+0
-5
lines changed

3 files changed

+0
-5
lines changed

ext/curl/interface.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,6 @@
5353
#endif /* ZTS && HAVE_CURL_OLD_OPENSSL */
5454
/* }}} */
5555

56-
#define SMART_STR_PREALLOC 4096
57-
5856
#include "zend_smart_str.h"
5957
#include "ext/standard/info.h"
6058
#include "ext/standard/file.h"

ext/mysqlnd/mysqlnd_alloc.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,6 @@ static char * _mysqlnd_pestrndup(const char * const ptr, size_t length, bool per
323323

324324

325325
#define SMART_STR_START_SIZE 2048
326-
#define SMART_STR_PREALLOC 512
327326
#include "zend_smart_str.h"
328327

329328

ext/pgsql/pgsql.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@
2626
#include <config.h>
2727
#endif
2828

29-
#define SMART_STR_PREALLOC 512
30-
3129
#include "php.h"
3230
#include "php_ini.h"
3331
#include "ext/standard/info.h"

0 commit comments

Comments
 (0)