I initalized mask to 0 in IMB_converttocmap

This may not be correct but at least now its predictable.

Kent
This commit is contained in:
2002-12-19 21:26:34 +00:00
parent ac699ba672
commit f8ef881474

View File

@@ -414,7 +414,7 @@ short IMB_converttocmap(struct ImBuf *ibuf)
unsigned int *coltab; unsigned int *coltab;
short *deltab=0, cbits; short *deltab=0, cbits;
int i; int i;
int mincol, mask; int mincol, mask = 0;
struct ImBuf * abuf = 0; struct ImBuf * abuf = 0;
unsigned int * rect, * arect; unsigned int * rect, * arect;