Blender Git Loki

Git Commits -> Revision cf13c60

Revision cf13c60 by Kent Mein (master)
December 20, 2002, 01:29 (GMT)


Two more variables that were not initalized.

cvs diff included below.

Kent
--
[email protected]

Index: png_encode.c
===================================================================
RCS file: /cvs01/blender/source/blender/imbuf/intern/png_encode.c,v
retrieving revision 1.3
diff -u -r1.3 png_encode.c
--- png_encode.c 2002/11/25 12:02:00 1.3
+++ png_encode.c 2002/12/20 01:28:18
@@ -91,7 +91,7 @@
unsigned char *pixels = 0;
unsigned char *from, *to;
png_bytepp row_pointers = 0;
- int i, bytesperpixel, color_type;
+ int i, bytesperpixel, color_type = PNG_COLOR_TYPE_GRAY;
FILE *fp = 0;

Index: targa.c
===================================================================
RCS file: /cvs01/blender/source/blender/imbuf/intern/targa.c,v
retrieving revision 1.3
diff -u -r1.3 targa.c
--- targa.c 2002/11/25 12:02:00 1.3
+++ targa.c 2002/12/20 01:28:20
@@ -247,7 +247,7 @@
char buf[20];
FILE *fildes;
int i;
- short ok;
+ short ok = 0;

Commit Details:

Full Hash: cf13c60fa4b8cbeadd557eba6cf2d687768ba537
SVN Revision: 201
Parent Commit: 1481941
Lines Changed: +2, -2

2 Modified Paths:

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