svn: /php/php-src/ branches/PHP_5_3/main/snprintf.c branches/PHP_5_4/main/snprintf.c trunk/main/snprintf.c
| From: | Pierrick Charron | Date: | Tue, 09 Aug 2011 02:42:25 +0000 |
| Subject: | svn: /php/php-src/ branches/PHP_5_3/main/snprintf.c branches/PHP_5_4/main/snprintf.c trunk/main/snprintf.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-65796@lists.php.net to get a copy of this message | ||
pierrick Tue, 09 Aug 2011 02:42:25 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=314582
Log:
Remove unused variable
Changed paths:
U php/php-src/branches/PHP_5_3/main/snprintf.c
U php/php-src/branches/PHP_5_4/main/snprintf.c
U php/php-src/trunk/main/snprintf.c
Modified: php/php-src/branches/PHP_5_3/main/snprintf.c
===================================================================
--- php/php-src/branches/PHP_5_3/main/snprintf.c 2011-08-09 02:37:02 UTC (rev 314581)
+++ php/php-src/branches/PHP_5_3/main/snprintf.c 2011-08-09 02:42:25 UTC (rev 314582)
@@ -587,7 +587,6 @@
int i;
char *s = NULL;
- char *q;
int s_len, free_zcopy;
zval *zvp, zcopy;
@@ -1071,7 +1070,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/snprintf.c
===================================================================
--- php/php-src/branches/PHP_5_4/main/snprintf.c 2011-08-09 02:37:02 UTC (rev 314581)
+++ php/php-src/branches/PHP_5_4/main/snprintf.c 2011-08-09 02:42:25 UTC (rev 314582)
@@ -587,7 +587,6 @@
int i;
char *s = NULL;
- char *q;
int s_len, free_zcopy;
zval *zvp, zcopy;
@@ -1071,7 +1070,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/snprintf.c
===================================================================
--- php/php-src/trunk/main/snprintf.c 2011-08-09 02:37:02 UTC (rev 314581)
+++ php/php-src/trunk/main/snprintf.c 2011-08-09 02:42:25 UTC (rev 314582)
@@ -587,7 +587,6 @@
int i;
char *s = NULL;
- char *q;
int s_len, free_zcopy;
zval *zvp, zcopy;
@@ -1071,7 +1070,7 @@
s_len = strlen(s);
- if (alternate_form && (q = strchr(s, '.')) == NULL) {
+ if (alternate_form && (strchr(s, '.')) == NULL) {
s[s_len++] = '.';
}
break;