[Bf-blender-cvs] [575cf6247d0] cycles-x: Cleanup: compiler warning
Brecht Van Lommel
noreply at git.blender.org
Wed Jul 28 18:26:23 CEST 2021
Commit: 575cf6247d01969f91cf06ca91cdeb124a1eba41
Author: Brecht Van Lommel
Date: Tue Jul 27 15:54:31 2021 +0200
Branches: cycles-x
https://developer.blender.org/rB575cf6247d01969f91cf06ca91cdeb124a1eba41
Cleanup: compiler warning
===================================================================
M intern/cycles/integrator/path_trace_work_cpu.cpp
===================================================================
diff --git a/intern/cycles/integrator/path_trace_work_cpu.cpp b/intern/cycles/integrator/path_trace_work_cpu.cpp
index e794a214a1b..12baf7cf94a 100644
--- a/intern/cycles/integrator/path_trace_work_cpu.cpp
+++ b/intern/cycles/integrator/path_trace_work_cpu.cpp
@@ -106,7 +106,7 @@ void PathTraceWorkCPU::render_samples_full_pipeline(KernelGlobals *kernel_global
const bool has_shadow_catcher = device_scene_->data.integrator.has_shadow_catcher;
const bool has_bake = device_scene_->data.bake.use;
- IntegratorState integrator_states[2] = {{0}, {0}};
+ IntegratorState integrator_states[2] = {};
IntegratorState *state = &integrator_states[0];
IntegratorState *shadow_catcher_state = &integrator_states[1];
More information about the Bf-blender-cvs
mailing list