diff options
author | Thomas Dinges <blender@dingto.org> | 2014-09-01 04:49:28 +0400 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2014-09-01 04:49:28 +0400 |
commit | 35bc266de7c8e4b3e8904adfec0128af4bf9051e (patch) | |
tree | 63163f3eb626fe9824ab2e6e843282558f28aa78 /intern/cycles/kernel/kernel_path.h | |
parent | ab6f4491ea83477ea9ed0a0e93d21ca5ac2254f7 (diff) |
Cleanup: Silence compiler warning.
Diffstat (limited to 'intern/cycles/kernel/kernel_path.h')
-rw-r--r-- | intern/cycles/kernel/kernel_path.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/intern/cycles/kernel/kernel_path.h b/intern/cycles/kernel/kernel_path.h index ab4b5ecd411..65755f0df12 100644 --- a/intern/cycles/kernel/kernel_path.h +++ b/intern/cycles/kernel/kernel_path.h @@ -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)) { |