]> granicus.if.org Git - php/commitdiff
Warning fix
authorWez Furlong <wez@php.net>
Fri, 4 Apr 2003 21:09:25 +0000 (21:09 +0000)
committerWez Furlong <wez@php.net>
Fri, 4 Apr 2003 21:09:25 +0000 (21:09 +0000)
ext/standard/streamsfuncs.c

index e524f3a8f90a795b272d4ea88f21c394020bb9ab..2ad8ddd944a43695e89825dec526bca09e86f121 100644 (file)
@@ -343,13 +343,13 @@ PHP_FUNCTION(stream_get_transports)
 {
        HashTable *stream_xport_hash;
        char *stream_xport;
-       int key_flags, stream_xport_len;
+       int stream_xport_len;
 
        if (ZEND_NUM_ARGS() != 0) {
                WRONG_PARAM_COUNT;
        }
 
-       if (stream_xport_hash = php_stream_xport_get_hash()) {
+       if ((stream_xport_hash = php_stream_xport_get_hash())) {
                array_init(return_value);
                zend_hash_internal_pointer_reset(stream_xport_hash);
                while (zend_hash_get_current_key_ex(stream_xport_hash,