Blender Git Loki

Git Commits -> Revision 734e358

Revision 734e358 by Kent Mein (master)
December 19, 2002, 22:13 (GMT)


Fixed two uninitalized vars:

Kent

/cvs01/blender/source/blender/imbuf/intern/iris.c,v
retrieving revision 1.3
diff -u -r1.3 iris.c
--- iris.c 2002/11/25 12:02:00 1.3
+++ iris.c 2002/12/19 22:12:53
@@ -212,7 +212,7 @@
/* unsigned int *tab; */
/* int len; */
{
- int r;
+ int r = 0;

while(len) {
r = putlong(outf,*tab++);
@@ -548,7 +548,7 @@
{
FILE *outf;
IMAGE *image;
- int tablen, y, z, pos, len;
+ int tablen, y, z, pos, len = 0;
int *starttab, *lengthtab;
unsigned char *rlebuf;

Commit Details:

Full Hash: 734e358eb48e6eba6f8906340fc4cb4a809ca218
SVN Revision: 199
Parent Commit: 59cee3c
Lines Changed: +2, -2

1 Modified Path:

/source/blender/imbuf/intern/iris.c (+2, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021