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:
authorKent Mein <mein@cs.umn.edu>2004-07-16 18:45:06 +0400
committerKent Mein <mein@cs.umn.edu>2004-07-16 18:45:06 +0400
commitb07c5f20962420095c2b25f2bbfdc9477ff15f22 (patch)
treeb06df746c780f398c348039159cad2da53b249d9 /source/blender/src/sequence.c
parent376468d383791413ebdfaa311a8283d241eb6a1c (diff)
Bunch of small fixes for warnings and whatnot....
intern/SoundSystem/intern/SND_AudioDevice.cpp Initalized a var that could fall through with no value. source/blender/readblenfile/intern/BLO_readblenfile.c source/blender/src/space.c intern/SoundSystem/intern/SND_Scene.cpp source/gameengine/Converter/BL_MeshDeformer.cpp removed unused var's intern/SoundSystem/openal/pthread_cancel.cpp fixed a nested /* source/blender/imbuf/IMB_imbuf.h added static to the type returned for addzbufImBuf source/blender/imbuf/intern/IMB_bmp.h had a wrong prototype source/blender/src/view.c added newline at end of file. source/blender/src/sequence.c removed unused var added #include <stdlib.h> to avoid: warning: implicit declaration of function `abs' initalized a var that could have been used without being set. Kent
Diffstat (limited to 'source/blender/src/sequence.c')
-rw-r--r--source/blender/src/sequence.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/src/sequence.c b/source/blender/src/sequence.c
index 3ff185626a0..24822cb268f 100644
--- a/source/blender/src/sequence.c
+++ b/source/blender/src/sequence.c
@@ -32,6 +32,7 @@
#include <string.h>
#include <math.h>
+#include <stdlib.h>
#ifdef HAVE_CONFIG_H
#include <config.h>
@@ -989,7 +990,7 @@ float check_zone(int x, int y, int xo, int yo, Sequence *seq, float facf0) {
/*some future stuff
float hyp3,hyp4,b4,b5
*/
- float temp1,temp2,temp3,temp4,hold; //some placeholder variables
+ float temp1,temp2,temp3,temp4; //some placeholder variables
float halfx = xo/2;
float halfy = yo/2;
float widthf,output=0;
@@ -1293,7 +1294,7 @@ void RVBlurBitmap2 ( unsigned char* map, int width,int height,float blur,
float *filter=NULL;
int x,y,i,fx,fy;
int index, ix, halfWidth;
- float fval, k, weight, curColor[3], curColor2[3];
+ float fval, k, curColor[3], curColor2[3], weight=0;
/* If we're not really blurring, bail out */
if (blur<=0)