htrdr

Solving radiative transfer in heterogeneous media
git clone git://git.meso-star.fr/htrdr.git
Log | Files | Refs | README | LICENSE

commit 8cdd8f48d2f0c3f3ee3ef32b4ac1f4149f7bc9cd
parent 278761ebd12ce69bad65bb791511f4f2aa4c17b1
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Fri, 19 Feb 2021 09:54:20 +0100

Fix an "unused parameter" warning

Diffstat:
Msrc/core/htrdr_draw_map.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/core/htrdr_draw_map.c b/src/core/htrdr_draw_map.c @@ -537,6 +537,7 @@ draw_map ASSERT(htrdr && check_draw_map_args(args) && buf_layout && work && tiles); ASSERT(ntiles_x && ntiles_y && ntiles_adjusted >= ntiles_x*ntiles_y); ASSERT(pix_sz && pix_sz[0] > 0 && pix_sz[1] > 0); + (void)ntiles_x, (void)ntiles_y; res = ssp_rng_create(htrdr->allocator, &ssp_rng_mt19937_64, &rng_proc); if(res != RES_OK) {