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
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2019-12-09 16:56:53 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2019-12-09 16:56:53 +0300
commit312b6fd713f62e60d36b2bc724f6cf5817c39b6a (patch)
tree274130c9ab6ca901f537b21ee86bcc88f28143e9 /source/blender/compositor
parentbaeb11826b9fe5525db6dd05ba5271949079fc1e (diff)
Cleanup: Redundant variable assignment to self
Was triggering strict compiler warning.
Diffstat (limited to 'source/blender/compositor')
-rw-r--r--source/blender/compositor/operations/COM_MathBaseOperation.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/compositor/operations/COM_MathBaseOperation.cpp b/source/blender/compositor/operations/COM_MathBaseOperation.cpp
index d103cc3cf0d..524812ac992 100644
--- a/source/blender/compositor/operations/COM_MathBaseOperation.cpp
+++ b/source/blender/compositor/operations/COM_MathBaseOperation.cpp
@@ -672,9 +672,9 @@ void MathPingpongOperation::executePixelSampled(float output[4],
this->m_inputValue1Operation->readSampled(inputValue1, x, y, sampler);
this->m_inputValue2Operation->readSampled(inputValue2, x, y, sampler);
- output[0] = output[0] = fabsf(
- fractf((inputValue1[0] - inputValue2[0]) / (inputValue2[0] * 2.0f)) * inputValue2[0] * 2.0f -
- inputValue2[0]);
+ output[0] = fabsf(fractf((inputValue1[0] - inputValue2[0]) / (inputValue2[0] * 2.0f)) *
+ inputValue2[0] * 2.0f -
+ inputValue2[0]);
clampIfNeeded(output);
}