From c78e44cdc563853c250da78ee78ba622c39126b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Luc=20Peuri=C3=A8re?= Date: Wed, 9 Mar 2005 19:45:59 +0000 Subject: big warning hunt commit lot of casts, added prototypes, missing includes and some true errors --- source/blender/imbuf/intern/iris.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/imbuf/intern/iris.c') diff --git a/source/blender/imbuf/intern/iris.c b/source/blender/imbuf/intern/iris.c index 37f695e34a9..78263daa2f5 100644 --- a/source/blender/imbuf/intern/iris.c +++ b/source/blender/imbuf/intern/iris.c @@ -235,11 +235,11 @@ static void test_endian_zbuf(struct ImBuf *ibuf) struct ImBuf *imb_loadiris(unsigned char *mem, int flags) { - unsigned int *base, *lptr; + unsigned int *base, *lptr = NULL; unsigned int *zbase, *zptr; unsigned char *rledat; int *starttab, *lengthtab; - FILE *inf; + FILE *inf = NULL; IMAGE image; int x, y, z, tablen; int xsize, ysize, zsize; -- cgit v1.2.3