cvs: php4 /ext/standard image.c
| From: | Marcus B�rger | Date: | Thu, 11 Apr 2002 07:26:55 +0000 |
| Subject: | cvs: php4 /ext/standard image.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-11029@lists.php.net to get a copy of this message | ||
helly Thu Apr 11 03:26:55 2002 EDT
Modified files:
/php4/ext/standard image.c
Log:
fix warning
Index: php4/ext/standard/image.c
diff -u php4/ext/standard/image.c:1.53 php4/ext/standard/image.c:1.54
--- php4/ext/standard/image.c:1.53 Wed Mar 20 09:21:28 2002
+++ php4/ext/standard/image.c Thu Apr 11 03:26:53 2002
@@ -16,7 +16,7 @@
| Marcus Boerger <helly@php.net> |
+----------------------------------------------------------------------+
*/
-/* $Id: image.c,v 1.53 2002/03/20 14:21:28 wez Exp $ */
+/* $Id: image.c,v 1.54 2002/04/11 07:26:53 helly Exp $ */
/*
* Based on Daniel Schmitt's imageinfo.c which carried the following
* Copyright notice.
@@ -568,7 +568,7 @@
struct gfxinfo *result = NULL;
int i, num_entries;
unsigned char *dir_entry;
- size_t ifd_size, dir_size, entry_value, entry_length, width, height, ifd_addr;
+ size_t ifd_size, dir_size, entry_value, entry_length, width=0, height=0, ifd_addr;
int entry_tag , entry_type;
char *ifd_data, ifd_ptr[4];