summaryrefslogtreecommitdiffstats
path: root/tests/libdimension/prtree.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libdimension/prtree.c')
-rw-r--r--tests/libdimension/prtree.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/libdimension/prtree.c b/tests/libdimension/prtree.c
index b3e5d52..0684d55 100644
--- a/tests/libdimension/prtree.c
+++ b/tests/libdimension/prtree.c
@@ -59,8 +59,7 @@ main()
const size_t nobjects = 128;
dmnsn_scene *scene = dmnsn_new_scene();
- size_t i;
- for (i = 0; i < nobjects; ++i) {
+ for (size_t i = 0; i < nobjects; ++i) {
dmnsn_object *object = dmnsn_new_object();
dmnsn_randomize_bounding_box(object);
object->intersection_fn = &dmnsn_fake_intersection_fn;