Revision: 57851
http://sourceforge.net/p/brlcad/code/57851
Author: starseeker
Date: 2013-09-24 00:42:10 +0000 (Tue, 24 Sep 2013)
Log Message:
-----------
This keeps tripping unused variable errors... is work supposed to be assigned
to something?
Modified Paths:
--------------
brlcad/trunk/src/librt/primitives/hrt/hrt.c
Modified: brlcad/trunk/src/librt/primitives/hrt/hrt.c
===================================================================
--- brlcad/trunk/src/librt/primitives/hrt/hrt.c 2013-09-24 00:39:28 UTC (rev
57850)
+++ brlcad/trunk/src/librt/primitives/hrt/hrt.c 2013-09-24 00:42:10 UTC (rev
57851)
@@ -681,8 +681,9 @@
* above equations by six here.
*/
void
-rt_hrt_norm(register struct hit *hitp, register struct xray *rp)
+rt_hrt_norm(register struct hit *UNUSED(hitp), register struct xray
*UNUSED(rp))
{
+ /*
fastf_t w, fx, fy, fz;
vect_t work;
@@ -694,7 +695,7 @@
fy = hitp->hit_vpriv[Y] * (12/27 * w * w - 80/3 * hitp->hit_vpriv[Z] *
hitp->hit_vpriv[Z] * hitp->hit_vpriv[Z]);
fz = (w * w - 0.5 * hitp->hit_vpriv[Z] * (hitp->hit_vpriv[X] *
hitp->hit_vpriv[X] + 9/80 * hitp->hit_vpriv[Y] * hitp->hit_vpriv[Y])) *
hitp->hit_vpriv[Z];
VSET(work, fx, fy, fz);
-
+ */
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits