cvs: php-src(PHP_5_0) /ext/standard ftp_fopen_wrapper.c image.c

From: Date: Sun, 27 Feb 2005 17:08:26 +0000
Subject: cvs: php-src(PHP_5_0) /ext/standard ftp_fopen_wrapper.c image.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-30625@lists.php.net to get a copy of this message
iliaa Sun Feb 27 12:08:26 2005 EDT Modified files: (Branch: PHP_5_0) /php-src/ext/standard image.c ftp_fopen_wrapper.c Log: MFH: Fixed compiler warnings. http://cvs.php.net/diff.php/php-src/ext/standard/image.c?r1=1.98.2.4&r2=1.98.2.5&ty=u Index: php-src/ext/standard/image.c diff -u php-src/ext/standard/image.c:1.98.2.4 php-src/ext/standard/image.c:1.98.2.5 --- php-src/ext/standard/image.c:1.98.2.4 Thu Feb 24 15:54:12 2005 +++ php-src/ext/standard/image.c Sun Feb 27 12:08:26 2005 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: image.c,v 1.98.2.4 2005/02/24 20:54:12 helly Exp $ */ +/* $Id: image.c,v 1.98.2.5 2005/02/27 17:08:26 iliaa Exp $ */ #include "php.h" #include <stdio.h> @@ -604,7 +604,7 @@ { struct gfxinfo *result = NULL; unsigned short dummy_short; - int dummy_int, highest_bit_depth, bit_depth; + int highest_bit_depth, bit_depth; unsigned char first_marker_id; unsigned int i; http://cvs.php.net/diff.php/php-src/ext/standard/ftp_fopen_wrapper.c?r1=1.74.2.1&r2=1.74.2.2&ty=u Index: php-src/ext/standard/ftp_fopen_wrapper.c diff -u php-src/ext/standard/ftp_fopen_wrapper.c:1.74.2.1 php-src/ext/standard/ftp_fopen_wrapper.c:1.74.2.2 --- php-src/ext/standard/ftp_fopen_wrapper.c:1.74.2.1 Sun Aug 15 21:41:17 2004 +++ php-src/ext/standard/ftp_fopen_wrapper.c Sun Feb 27 12:08:26 2005 @@ -18,7 +18,7 @@ | Sara Golemon <pollita@php.net> | +----------------------------------------------------------------------+ */ -/* $Id: ftp_fopen_wrapper.c,v 1.74.2.1 2004/08/16 01:41:17 iliaa Exp $ */ +/* $Id: ftp_fopen_wrapper.c,v 1.74.2.2 2005/02/27 17:08:26 iliaa Exp $ */ #include "php.h" #include "php_globals.h" @@ -645,7 +645,7 @@ { php_stream *stream, *reuseid, *datastream = NULL; php_url *resource = NULL; - int result, use_ssl, use_ssl_on_data = 0; + int result = 0, use_ssl, use_ssl_on_data = 0; char *hoststart = NULL, tmp_line[512]; char ip[sizeof("123.123.123.123")]; unsigned short portno;

« previous php.cvs (#30625) next »