diff options
author | Kent Mein <mein@cs.umn.edu> | 2005-04-27 15:52:50 +0400 |
---|---|---|
committer | Kent Mein <mein@cs.umn.edu> | 2005-04-27 15:52:50 +0400 |
commit | 7811d7209a9ebb207979269c764831ef818521b5 (patch) | |
tree | 74504d69828bf671f179296b4ed86cff0e13cf5b /source/blender/blenkernel/intern/mball.c | |
parent | e79db85cc18d378fc2dc6d30f0fb69d04e066f68 (diff) |
Bunch of gcc 4.0 warning fixes.
source/creator/creator.c
changed ifdef's around fpe_handler to match when its actually used.
intern/SoundSystem/intern/SND_AudioDevice.cpp
Changed: SND_SoundObject* oldobject = oldobject = pIdObject->GetSoundObject();
to: SND_SoundObject* oldobject = pIdObject->GetSoundObject();
intern/SoundSystem/openal/SND_OpenALDevice.cpp
removed unused var.
source/blender/blenkernel/intern/mball.c
initalized a couple of vars that might have been used uninitalized.
The rest were changing types to match, most of them were something like
was short * should have been unsigned short *.
Kent
Diffstat (limited to 'source/blender/blenkernel/intern/mball.c')
-rw-r--r-- | source/blender/blenkernel/intern/mball.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenkernel/intern/mball.c b/source/blender/blenkernel/intern/mball.c index 540c81b5fc4..c5d89cd437a 100644 --- a/source/blender/blenkernel/intern/mball.c +++ b/source/blender/blenkernel/intern/mball.c @@ -1323,9 +1323,9 @@ void find_first_points(PROCESS *mbproc, MetaBall *mb, int a) /* Skip, when Stiffness of MetaElement is too small ... MetaElement can't be * visible alone ... but still can influence others MetaElements :-) */ if(f > 0.0) { - IN.x = in.x= 0.0; - IN.y = in.y= 0.0; - IN.z = in.z= 0.0; + OUT.x = IN.x = in.x= 0.0; + OUT.y = IN.y = in.y= 0.0; + OUT.z = IN.z = in.z= 0.0; calc_mballco(ml, (float *)&in); in_v = mbproc->function(in.x, in.y, in.z); |