commit 70d5aa7eeb12f879828bf7db7060e8e442daa3a0
parent d8a52a4bb3bb0cc8653ba75080973c0e51581121
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Mon, 15 Jul 2024 16:48:00 +0200
Fixed warning in debug mode
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/senc3d_scene_analyze.c b/src/senc3d_scene_analyze.c
@@ -290,6 +290,7 @@ self_hit_filter
< darray_triangle_comp_size_get(ctx->triangles_comp));
ASSERT(hit_comp[SENC3D_FRONT] < compsz);
ASSERT(hit_comp[SENC3D_BACK] < compsz);
+ (void)compsz; /* Avoid "unused variable" warning */
/* Hit acceptance must be coherent at CTX0 and FTCX1 stages:
* the search radius as found at stage CTX0 must include the hit that