Revision: 48497
          http://brlcad.svn.sourceforge.net/brlcad/?rev=48497&view=rev
Author:   erikgreenwald
Date:     2012-01-12 15:14:52 +0000 (Thu, 12 Jan 2012)
Log Message:
-----------
zero out hit structs. Cov1626

Modified Paths:
--------------
    brlcad/trunk/src/librt/primitives/dsp/dsp.c

Modified: brlcad/trunk/src/librt/primitives/dsp/dsp.c
===================================================================
--- brlcad/trunk/src/librt/primitives/dsp/dsp.c 2012-01-12 15:12:48 UTC (rev 
48496)
+++ brlcad/trunk/src/librt/primitives/dsp/dsp.c 2012-01-12 15:14:52 UTC (rev 
48497)
@@ -1821,6 +1821,9 @@
     point_t bbmin, bbmax;
     double dot, dot2;
 
+    for(x=0;x<4;x++)
+       memset(hits+x, 0, sizeof(struct hit));
+    x=0;
 
     dlog("isect_ray_cell_top\n");
     DSP_BB_CK(dsp_bb);

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to