]> granicus.if.org Git - php/commitdiff
- Fix build
authorFelipe Pena <felipe@php.net>
Sun, 30 Mar 2008 15:31:33 +0000 (15:31 +0000)
committerFelipe Pena <felipe@php.net>
Sun, 30 Mar 2008 15:31:33 +0000 (15:31 +0000)
ext/standard/file.c

index 054697cc07c8936ad636416c3bccad424fbc4cd9..b45ca3d9c3afcd9752faa5c097ebc4ef3e6cd20e 100644 (file)
@@ -622,7 +622,6 @@ PHP_FUNCTION(file_put_contents)
        long flags = ((argc < 3) && UG(unicode)) ? PHP_FILE_TEXT : 0;
        zval *zcontext = NULL;
        php_stream_context *context = NULL;
-       char mode[3] = { 'w', 0, 0 };
        php_stream *srcstream = NULL;
        char mode[3] = "wb";