[brlcad-commits] SF.net SVN: brlcad:[48815] brlcad/trunk/src/librt/primitives/nmg/nmg_misc.c
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: <tbr...@us...> - 2012-01-13 20:28:15
|
Revision: 48815 http://brlcad.svn.sourceforge.net/brlcad/?rev=48815&view=rev Author: tbrowder2 Date: 2012-01-13 20:28:08 +0000 (Fri, 13 Jan 2012) Log Message: ----------- quell uninitialized variable warning Modified Paths: -------------- brlcad/trunk/src/librt/primitives/nmg/nmg_misc.c Modified: brlcad/trunk/src/librt/primitives/nmg/nmg_misc.c =================================================================== --- brlcad/trunk/src/librt/primitives/nmg/nmg_misc.c 2012-01-13 20:09:46 UTC (rev 48814) +++ brlcad/trunk/src/librt/primitives/nmg/nmg_misc.c 2012-01-13 20:28:08 UTC (rev 48815) @@ -6410,7 +6410,7 @@ int next_edge_no, prev_edge_no; struct intersect_fus *edge_fus; struct intersect_fus *next_fus, *prev_fus; - fastf_t dist1, dist2; + fastf_t dist1 = 0, dist2; point_t pt1, pt2; edge_fus = (struct intersect_fus *)BU_PTBL_GET(int_faces, edge_no); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |