diff options
author | Nikita Popov <nikic@php.net> | 2016-12-18 20:41:44 +0100 |
---|---|---|
committer | Nikita Popov <nikic@php.net> | 2017-01-01 21:28:20 +0100 |
commit | 38f72cea1bcfecc2a04c055418e4518bfd05c04a (patch) | |
tree | 56762503b622d292a4ec6e4afa4ae8fe07dca5b4 /main | |
parent | abb91ee9eac100c92960ec54b86c7792fc3c49cd (diff) | |
download | php-git-38f72cea1bcfecc2a04c055418e4518bfd05c04a.tar.gz |
Sync smart_string implementation with smart_str
Switch to using inline functions instead of macros, etc.
Diffstat (limited to 'main')
-rw-r--r-- | main/spprintf.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/main/spprintf.c b/main/spprintf.c index 2d24dbddeb..5a8ce07720 100644 --- a/main/spprintf.c +++ b/main/spprintf.c @@ -138,7 +138,6 @@ } while (0); #define PAD_CHAR(xbuf, ch, count, is_char) do { \ - size_t newlen; \ if ((is_char)) { \ smart_string_alloc(((smart_string *)(xbuf)), (count), 0); \ memset(((smart_string *)(xbuf))->c + ((smart_string *)(xbuf))->len, (ch), (count)); \ |