Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/intern
diff options
context:
space:
mode:
authorCharlie Jolly <mistajolly@gmail.com>2020-03-27 14:12:11 +0300
committerCharlie Jolly <mistajolly@gmail.com>2020-03-27 14:12:27 +0300
commit1bb7d42cf660c15fe827623aa98fd96155c8c9c6 (patch)
tree14339a5a596491e7f219cee9a55e90edbcdd5e91 /intern
parentda91329291b666ea9cb28a3a37da7c79f59a24cf (diff)
Cleanup: Silence uninitialized variable warning
Diffstat (limited to 'intern')
-rw-r--r--intern/cycles/kernel/svm/svm_math.h2
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;