commit 9a08f09baba067b1e8ebb7567bf4e5f580f37626
parent 4f8944d8bb8fe3415b594d59b68b4f1ac0060114
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Fri, 3 Mar 2023 15:29:47 +0100
Fix build warning in test_sdis_volumic_power
Diffstat:
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/src/test_sdis_volumic_power.c b/src/test_sdis_volumic_power.c
@@ -374,10 +374,7 @@ solve
}
static void
-check_null_power_term_with_green
- (struct sdis_scene* scn,
- struct ssp_rng* rng,
- struct solid* solid)
+check_null_power_term_with_green(struct sdis_scene* scn, struct solid* solid)
{
struct sdis_solve_probe_args solve_args = SDIS_SOLVE_PROBE_ARGS_DEFAULT;
struct sdis_mc T = SDIS_MC_NULL;
@@ -385,7 +382,7 @@ check_null_power_term_with_green
struct sdis_green_function* green = NULL;
double x = 0;
double ref = 0;
- ASSERT(scn && rng && solid);
+ ASSERT(scn && solid);
solve_args.position[0] = 0.5;
solve_args.position[1] = 0.5;
@@ -530,7 +527,7 @@ main(int argc, char** argv)
solve(square_scn, rng, solid_props);
/* Check green registration with a null power term */
- check_null_power_term_with_green(box_scn, rng, solid_props);
+ check_null_power_term_with_green(box_scn, solid_props);
OK(sdis_scene_ref_put(box_scn));
OK(sdis_scene_ref_put(square_scn));