diff options
author | Charlie Jolly <mistajolly@gmail.com> | 2020-03-27 14:12:11 +0300 |
---|---|---|
committer | Charlie Jolly <mistajolly@gmail.com> | 2020-03-27 14:12:27 +0300 |
commit | 1bb7d42cf660c15fe827623aa98fd96155c8c9c6 (patch) | |
tree | 14339a5a596491e7f219cee9a55e90edbcdd5e91 /intern/cycles | |
parent | da91329291b666ea9cb28a3a37da7c79f59a24cf (diff) |
Cleanup: Silence uninitialized variable warning
Diffstat (limited to 'intern/cycles')
-rw-r--r-- | intern/cycles/kernel/svm/svm_math.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/kernel/svm/svm_math.h b/intern/cycles/kernel/svm/svm_math.h index 01e01c399ea..b000586c803 100644 --- a/intern/cycles/kernel/svm/svm_math.h +++ b/intern/cycles/kernel/svm/svm_math.h @@ -51,7 +51,7 @@ ccl_device void svm_node_vector_math(KernelGlobals *kg, float3 a = stack_load_float3(stack, a_stack_offset); float3 b = stack_load_float3(stack, b_stack_offset); - float3 c; + float3 c = make_float3(0.0f); float scale = stack_load_float(stack, scale_stack_offset); float value; |