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;

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to