mirror of
https://github.com/php/php-src.git
synced 2026-04-23 16:08:35 +02:00
Remove unused variable
This commit is contained in:
+1
-2
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user