stas                                     Tue, 06 Sep 2011 05:31:08 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=316208

Log:
unused variables

Changed paths:
    U   php/php-src/branches/PHP_5_4/ext/standard/filestat.c
    U   php/php-src/trunk/ext/standard/filestat.c

Modified: php/php-src/branches/PHP_5_4/ext/standard/filestat.c
===================================================================
--- php/php-src/branches/PHP_5_4/ext/standard/filestat.c        2011-09-06 
05:28:25 UTC (rev 316207)
+++ php/php-src/branches/PHP_5_4/ext/standard/filestat.c        2011-09-06 
05:31:08 UTC (rev 316208)
@@ -422,8 +422,10 @@
        char *filename;
        int filename_len;
        zval *group;
+#if !defined(WINDOWS)
        gid_t gid;
        int ret;
+#endif
        php_stream_wrapper *wrapper;

        if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "pz/", &filename, 
&filename_len, &group) == FAILURE) {
@@ -557,8 +559,10 @@
        char *filename;
        int filename_len;
        zval *user;
+#if !defined(WINDOWS)
        uid_t uid;
        int ret;
+#endif
        php_stream_wrapper *wrapper;

        if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "pz/", &filename, 
&filename_len, &user) == FAILURE) {

Modified: php/php-src/trunk/ext/standard/filestat.c
===================================================================
--- php/php-src/trunk/ext/standard/filestat.c   2011-09-06 05:28:25 UTC (rev 
316207)
+++ php/php-src/trunk/ext/standard/filestat.c   2011-09-06 05:31:08 UTC (rev 
316208)
@@ -422,8 +422,10 @@
        char *filename;
        int filename_len;
        zval *group;
+#if !defined(WINDOWS)
        gid_t gid;
        int ret;
+#endif
        php_stream_wrapper *wrapper;

        if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "pz/", &filename, 
&filename_len, &group) == FAILURE) {
@@ -557,8 +559,10 @@
        char *filename;
        int filename_len;
        zval *user;
+#if !defined(WINDOWS)
        uid_t uid;
        int ret;
+#endif
        php_stream_wrapper *wrapper;

        if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "pz/", &filename, 
&filename_len, &user) == FAILURE) {

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

Reply via email to