Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Leung <aligorith@gmail.com>2007-10-29 08:59:26 +0300
committerJoshua Leung <aligorith@gmail.com>2007-10-29 08:59:26 +0300
commite448f20db5e3d283f25898d07f64200f1acb8b3f (patch)
tree5951a94e237f659d9903c44d949572b6742b2690 /source/blender/imbuf/intern/rectop.c
parent2c5287df0442f1c9cb1a9f234edcc56496229faf (diff)
Routine purge of compiler warnings. Yet again, they were mostly uninitialised vars.
Diffstat (limited to 'source/blender/imbuf/intern/rectop.c')
-rw-r--r--source/blender/imbuf/intern/rectop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/imbuf/intern/rectop.c b/source/blender/imbuf/intern/rectop.c
index fde0b2b3623..63de3bd2355 100644
--- a/source/blender/imbuf/intern/rectop.c
+++ b/source/blender/imbuf/intern/rectop.c
@@ -545,8 +545,8 @@ void buf_rectfill_area(unsigned char *rect, float *rectf, int width, int height,
if (rect) {
unsigned char *pixel;
- unsigned char chr, chg, chb;
- float fr, fg, fb;
+ unsigned char chr=0, chg=0, chb=0;
+ float fr=0, fg=0, fb=0;
if (a == 1.0) {
chr = FTOCHAR(col[0]);