Cleanup: Silence compiler warning.

This commit is contained in:
Thomas Dinges
2014-09-01 02:49:28 +02:00
parent ab6f4491ea
commit 35bc266de7
2 changed files with 4 additions and 0 deletions

View File

@@ -864,6 +864,7 @@ ccl_device float4 kernel_branched_path_integrate(KernelGlobals *kg, RNG *rng, in
VolumeIntegrateResult result = kernel_volume_decoupled_scatter(kg,
&ps, &pray, &volume_sd, &tp, rphase, rscatter, &volume_segment, NULL, false);
(void)result;
kernel_assert(result == VOLUME_PATH_SCATTERED);
if(kernel_path_volume_bounce(kg, rng, &volume_sd, &tp, &ps, &L, &pray)) {