svn: /php/php-src/ branches/PHP_5_3/main/spprintf.c branches/PHP_5_4/main/spprintf.c trunk/main/spprintf.c
| From: | Pierrick Charron | Date: | Tue, 09 Aug 2011 02:37:02 +0000 |
| Subject: | svn: /php/php-src/ branches/PHP_5_3/main/spprintf.c branches/PHP_5_4/main/spprintf.c trunk/main/spprintf.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-65795@lists.php.net to get a copy of this message | ||
pierrick Tue, 09 Aug 2011 02:37:02 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=314581
Log:
Remove unused variable
Changed paths:
U php/php-src/branches/PHP_5_3/main/spprintf.c
U php/php-src/branches/PHP_5_4/main/spprintf.c
U php/php-src/trunk/main/spprintf.c
Modified: php/php-src/branches/PHP_5_3/main/spprintf.c
===================================================================
--- php/php-src/branches/PHP_5_3/main/spprintf.c 2011-08-09 00:40:45 UTC (rev 314580)
+++ php/php-src/branches/PHP_5_3/main/spprintf.c 2011-08-09 02:37:02 UTC (rev 314581)
@@ -198,7 +198,6 @@
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 @@
s_len = strlen(s);
- if (alternate_form && (q = strchr(s, '.')) == NULL)
+ if (alternate_form && (strchr(s, '.')) == NULL)
s[s_len++] = '.';
break;
Modified: php/php-src/branches/PHP_5_4/main/spprintf.c
===================================================================
--- php/php-src/branches/PHP_5_4/main/spprintf.c 2011-08-09 00:40:45 UTC (rev 314580)
+++ php/php-src/branches/PHP_5_4/main/spprintf.c 2011-08-09 02:37:02 UTC (rev 314581)
@@ -198,7 +198,6 @@
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 @@
s_len = strlen(s);
- if (alternate_form && (q = strchr(s, '.')) == NULL)
+ if (alternate_form && (strchr(s, '.')) == NULL)
s[s_len++] = '.';
break;
Modified: php/php-src/trunk/main/spprintf.c
===================================================================
--- php/php-src/trunk/main/spprintf.c 2011-08-09 00:40:45 UTC (rev 314580)
+++ php/php-src/trunk/main/spprintf.c 2011-08-09 02:37:02 UTC (rev 314581)
@@ -198,7 +198,6 @@
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 @@
s_len = strlen(s);
- if (alternate_form && (q = strchr(s, '.')) == NULL)
+ if (alternate_form && (strchr(s, '.')) == NULL)
s[s_len++] = '.';
break;