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

From: Date: Sun, 27 Feb 2005 17:08:18 +0000
Subject: cvs: php-src /ext/standard ftp_fopen_wrapper.c image.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-30624@lists.php.net to get a copy of this message
iliaa Sun Feb 27 12:08:18 2005 EDT Modified files: /php-src/ext/standard image.c ftp_fopen_wrapper.c Log: Fixed compiler warnings. http://cvs.php.net/diff.php/php-src/ext/standard/image.c?r1=1.107&r2=1.108&ty=u Index: php-src/ext/standard/image.c diff -u php-src/ext/standard/image.c:1.107 php-src/ext/standard/image.c:1.108 --- php-src/ext/standard/image.c:1.107 Thu Feb 24 15:22:40 2005 +++ php-src/ext/standard/image.c Sun Feb 27 12:08:18 2005 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: image.c,v 1.107 2005/02/24 20:22:40 helly Exp $ */ +/* $Id: image.c,v 1.108 2005/02/27 17:08:18 iliaa Exp $ */ #include "php.h" #include <stdio.h> @@ -601,7 +601,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.79&r2=1.80&ty=u Index: php-src/ext/standard/ftp_fopen_wrapper.c diff -u php-src/ext/standard/ftp_fopen_wrapper.c:1.79 php-src/ext/standard/ftp_fopen_wrapper.c:1.80 --- php-src/ext/standard/ftp_fopen_wrapper.c:1.79 Wed Sep 29 06:21:41 2004 +++ php-src/ext/standard/ftp_fopen_wrapper.c Sun Feb 27 12:08:18 2005 @@ -18,7 +18,7 @@ | Sara Golemon <pollita@php.net> | +----------------------------------------------------------------------+ */ -/* $Id: ftp_fopen_wrapper.c,v 1.79 2004/09/29 10:21:41 hyanantha Exp $ */ +/* $Id: ftp_fopen_wrapper.c,v 1.80 2005/02/27 17:08:18 iliaa Exp $ */ #include "php.h" #include "php_globals.h" @@ -648,7 +648,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 (#30624) next »