I didn't remember correctly when CS_ALLOC_STACK_ARRAY() should be used and thought that it was whenever one want to allocate an array on the stack, instead of when the size is unknown at compile time.
Yes, the warning message was about uninitialized values, I'll put your fix instead. > Curious. CS_ALLOC_STACK_ARRAY() is employed when you want to allocate > an array on the stack but don't know the number of elements at > compile-time. In this case, the array size is known at compile-time, > so CS_ALLOC_STACK_ARRAY() is superfluous. What problem does this > change attempt to resolve? Was it a case of the compiler complaining > that the array was used uninitialized? If so, a cleaner way to resolve > the warning would be: > > float previousEdgeMidPoint[3] = { 0.0f, 0.0f, 0.0f }; > > -- ES > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Cel-main mailing list > Cel-main@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/cel-main > ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ Cel-main mailing list Cel-main@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cel-main