[Bf-committers] Re: [Bf-blender-cvs] CVS commit: blender/source/blender/src editobject.c

Ken Hughes khughes at pacific.edu
Sun Apr 2 16:17:31 CEST 2006


Ton Roosendaal wrote:
> Hi Ken,
> 
> I don't know what OS you compile in, but checking for warnings is very  
> important!
> gcc gave me this:
> 
>  > editobject.c: In function `docentre':
>  > editobject.c:1584: warning: `cu' might be used uninitialized in this  
> function
> 
> Which was pointing at a serious problem in the code... I do realize the  
> docentre function is a very bad construct of itself, mixing up editmode  
> and objectmode in a confusing way.

Compiling under linux with scons, gcc 3.4.5.  I get no such warning. 
Maybe there need to be more flags set by default?

Ken


More information about the Bf-committers mailing list