diff --git a/source/blender/compositor/algorithms/COM_SymmetricSeparableBlurVariableSizeAlgorithm.cc b/source/blender/compositor/algorithms/COM_SymmetricSeparableBlurVariableSizeAlgorithm.cc index 17aaad8e2a6..dd4eee88205 100644 --- a/source/blender/compositor/algorithms/COM_SymmetricSeparableBlurVariableSizeAlgorithm.cc +++ b/source/blender/compositor/algorithms/COM_SymmetricSeparableBlurVariableSizeAlgorithm.cc @@ -11,6 +11,7 @@ #include "RE_pipeline.h" #include "COM_MemoryBuffer.h" +#include "COM_SymmetricSeparableBlurVariableSizeAlgorithm.h" namespace blender::compositor { @@ -59,8 +60,6 @@ static void blur_pass(const MemoryBuffer &input, threading::parallel_for(IndexRange(size.y), 1, [&](const IndexRange sub_y_range) { for (const int64_t y : sub_y_range) { for (const int64_t x : IndexRange(size.x)) { - int2 texel = int2(x, y); - float accumulated_weight = 0.0f; float4 accumulated_color = float4(0.0f); diff --git a/source/blender/compositor/operations/COM_InpaintOperation.cc b/source/blender/compositor/operations/COM_InpaintOperation.cc index 8e13acd3a46..9a24aa84aa0 100644 --- a/source/blender/compositor/operations/COM_InpaintOperation.cc +++ b/source/blender/compositor/operations/COM_InpaintOperation.cc @@ -26,8 +26,6 @@ void InpaintSimpleOperation::compute_inpainting_region( threading::parallel_for(IndexRange(size.y), 1, [&](const IndexRange sub_y_range) { for (const int64_t y : sub_y_range) { for (const int64_t x : IndexRange(size.x)) { - int2 texel = int2(x, y); - float4 color = float4(input->get_elem(x, y)); if (color.w == 1.0f) {