summaryrefslogtreecommitdiff
path: root/ext/standard
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2005-02-27 17:08:18 +0000
committerIlia Alshanetsky <iliaa@php.net>2005-02-27 17:08:18 +0000
commit036767451740555cc6a7b31b32d0fc5cdb4a899a (patch)
tree0ddbeeb396b245b71abe7d414435dc50590640e8 /ext/standard
parent8324d21955c312d7e5686e2753911f489490a9dd (diff)
downloadphp-git-036767451740555cc6a7b31b32d0fc5cdb4a899a.tar.gz
Fixed compiler warnings.
Diffstat (limited to 'ext/standard')
-rw-r--r--ext/standard/ftp_fopen_wrapper.c2
-rw-r--r--ext/standard/image.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/ftp_fopen_wrapper.c b/ext/standard/ftp_fopen_wrapper.c
index d338efb37f..8572324f39 100644
--- a/ext/standard/ftp_fopen_wrapper.c
+++ b/ext/standard/ftp_fopen_wrapper.c
@@ -648,7 +648,7 @@ php_stream * php_stream_ftp_opendir(php_stream_wrapper *wrapper, char *path, cha
{
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;
diff --git a/ext/standard/image.c b/ext/standard/image.c
index e80c594427..76e908dc2b 100644
--- a/ext/standard/image.c
+++ b/ext/standard/image.c
@@ -601,7 +601,7 @@ static struct gfxinfo *php_handle_jpc(php_stream * stream TSRMLS_DC)
{
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;