summaryrefslogtreecommitdiffstats
path: root/libdimension/bvst.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-03-18 02:32:01 -0400
committerTavian Barnes <tavianator@gmail.com>2010-03-18 02:32:01 -0400
commit4d152ae3c3d292e009b6c0245905b3b99801fc96 (patch)
tree7d0a2261ec6d6ed95d01ef865cf11a276be9c065 /libdimension/bvst.c
parentfc54151bbc6c81067c1d6c8ee752e6aad1ea984e (diff)
downloaddimension-4d152ae3c3d292e009b6c0245905b3b99801fc96.tar.xz
Fix some warnings reported by clang static analysis.
Diffstat (limited to 'libdimension/bvst.c')
-rw-r--r--libdimension/bvst.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libdimension/bvst.c b/libdimension/bvst.c
index bfc8124..462d1f0 100644
--- a/libdimension/bvst.c
+++ b/libdimension/bvst.c
@@ -378,7 +378,6 @@ dmnsn_bvst_search_recursive(dmnsn_bvst_node *node, dmnsn_line ray, double t)
if (result_temp.node && (t < 0.0 || result_temp.intersection->t < t)) {
dmnsn_delete_intersection(result.intersection);
result = result_temp;
- t = result.intersection->t;
} else {
dmnsn_delete_intersection(result_temp.intersection);
}