Skip to content

Remove unused SMART_STR_PREALLOC #14848

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions ext/curl/interface.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@
#endif /* ZTS && HAVE_CURL_OLD_OPENSSL */
/* }}} */

#define SMART_STR_PREALLOC 4096

#include "zend_smart_str.h"
#include "ext/standard/info.h"
#include "ext/standard/file.h"
Expand Down
1 change: 0 additions & 1 deletion ext/mysqlnd/mysqlnd_alloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,6 @@ static char * _mysqlnd_pestrndup(const char * const ptr, size_t length, bool per


#define SMART_STR_START_SIZE 2048
#define SMART_STR_PREALLOC 512
#include "zend_smart_str.h"


Expand Down
2 changes: 0 additions & 2 deletions ext/pgsql/pgsql.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@
#include <config.h>
#endif

#define SMART_STR_PREALLOC 512

#include "php.h"
#include "php_ini.h"
#include "ext/standard/info.h"
Expand Down
Loading