diff options
author | Pierrick Charron <pierrick@php.net> | 2011-08-09 02:37:02 +0000 |
---|---|---|
committer | Pierrick Charron <pierrick@php.net> | 2011-08-09 02:37:02 +0000 |
commit | cb1cd0b3ab26931d676976d5f9f4eb4465bb1ce1 (patch) | |
tree | d3c96d0ec5ab93475eabba4e6dd632954f73ea70 /main/spprintf.c | |
parent | a61534eab80b2d4dbfe1696d982ee4f43533eb18 (diff) | |
download | php-git-cb1cd0b3ab26931d676976d5f9f4eb4465bb1ce1.tar.gz |
Remove unused variable
Diffstat (limited to 'main/spprintf.c')
-rw-r--r-- | main/spprintf.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/main/spprintf.c b/main/spprintf.c index 8599d890ee..79ba346fdf 100644 --- a/main/spprintf.c +++ b/main/spprintf.c @@ -198,7 +198,6 @@ static size_t strnlen(const char *s, size_t maxlen) { static void xbuf_format_converter(smart_str *xbuf, const char *fmt, va_list ap) /* {{{ */ { char *s = NULL; - char *q; int s_len, free_zcopy; zval *zvp, zcopy; @@ -679,7 +678,7 @@ static void xbuf_format_converter(smart_str *xbuf, const char *fmt, va_list ap) s_len = strlen(s); - if (alternate_form && (q = strchr(s, '.')) == NULL) + if (alternate_form && (strchr(s, '.')) == NULL) s[s_len++] = '.'; break; |