Revision: 53855
http://brlcad.svn.sourceforge.net/brlcad/?rev=53855&view=rev
Author: starseeker
Date: 2012-11-28 16:39:33 +0000 (Wed, 28 Nov 2012)
Log Message:
-----------
initialize AtoP - getting warnings about possible uninitialized use in release
build configurations.
Modified Paths:
--------------
brlcad/trunk/src/libbn/plane.c
Modified: brlcad/trunk/src/libbn/plane.c
===================================================================
--- brlcad/trunk/src/libbn/plane.c 2012-11-28 16:07:36 UTC (rev 53854)
+++ brlcad/trunk/src/libbn/plane.c 2012-11-28 16:39:33 UTC (rev 53855)
@@ -2408,7 +2408,8 @@
int
bn_distsq_pt3_lseg3_v2(fastf_t *distsq, const fastf_t *a, const fastf_t *b,
const fastf_t *p, const struct bn_tol *tol)
{
- vect_t AtoB, AtoP, BtoP;
+ vect_t AtoB, BtoP;
+ vect_t AtoP = VINIT_ZERO;
fastf_t AtoB_mag, AtoP_mag, AtoPCA_mag, PtoPCA_mag, BtoP_mag;
fastf_t dot, dt, dist;
int ret;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Keep yourself connected to Go Parallel:
INSIGHTS What's next for parallel hardware, programming and related areas?
Interviews and blogs by thought leaders keep you ahead of the curve.
http://goparallel.sourceforge.net
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits