cf13c60fa4
Two more variables that were not initalized.
...
cvs diff included below.
Kent
--
mein@cs.umn.edu
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;
2002-12-20 01:29:14 +00:00
14819414e9
Ok since no one cares about this I put a 5 second fix on it and won't
...
worry about it anymore :)
(initalized it to 0 and then later return 0 if its still 0 before doing
the work)
Kent
--
mein@cs.umn.edu
2002-12-20 01:14:46 +00:00
734e358eb4
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;
2002-12-19 22:13:37 +00:00
f8ef881474
I initalized mask to 0 in IMB_converttocmap
...
This may not be correct but at least now its predictable.
Kent
2002-12-19 21:26:34 +00:00
cd4a60f536
sgefants patch to remove the License Key stuff.
...
(I noticed its not completely gone yet from the blender/source dir)
But its a big step in the right direction if it doesn't enable
all of the functionatlity already...
(Using cscope for LICENSE_KEY_VALID still turns up some stuff)
Kent
--
mein@cs.umn.edu
2002-12-06 19:48:37 +00:00
d0e346d544
updated .c files to include:
...
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
Just need to finish cpp files now :)
Kent
--
mein@cs.umn.edu
2002-11-25 12:02:15 +00:00
b9a19f1ea7
Did all of the .h's in source
...
(adding)
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
also the Makefile.in's were from previous patch adding
the system depend stuff to configure.ac
Kent
--
mein@cs.umn.edu
2002-11-25 11:16:17 +00:00
01bff70383
fixed spacing in the headers to get rid of some warnings and some other
...
little minor spacing issues.
2002-10-30 02:07:20 +00:00
d063311b08
Fixed defined __sparc to also check for __sparc__ (thanks to Ferris)
2002-10-29 21:55:52 +00:00
Hans Lambermont
12315f4d0e
Initial revision
2002-10-12 11:37:38 +00:00