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:
authorJacques Lucke <jacques@blender.org>2022-04-21 10:36:39 +0300
committerJacques Lucke <jacques@blender.org>2022-04-21 10:36:39 +0300
commit7a943428de7b586ddc93b0d3a95cf9f4df7d1249 (patch)
tree1c81a0c7183140342c798d322f47d1ebbd18b7ae /source/blender/blenlib
parent14f2d37ad13d9c014de97b16ec5239106e9bab87 (diff)
Cleanup: fix various warnings after recent commit
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r--source/blender/blenlib/BLI_color_mix.hh5
1 files changed, 2 insertions, 3 deletions
diff --git a/source/blender/blenlib/BLI_color_mix.hh b/source/blender/blenlib/BLI_color_mix.hh
index 8398f2c3326..6b0c2d914dd 100644
--- a/source/blender/blenlib/BLI_color_mix.hh
+++ b/source/blender/blenlib/BLI_color_mix.hh
@@ -5,7 +5,7 @@
* \ingroup blenlib
*
* Contains color mixing utilities.
- *
+ *
*/
#include "BLI_color.hh"
@@ -831,7 +831,7 @@ static Color mix_vividlight(Color col_src, Color col_dst, typename Traits::Blend
using Value = typename Traits::ValueType;
using Blend = typename Traits::BlendType;
- Value *cp_src, *cp_dst, *cp_mix;
+ Value *cp_src, *cp_dst;
Blend mfac;
Color col_mix(0, 0, 0, 0);
@@ -843,7 +843,6 @@ static Color mix_vividlight(Color col_src, Color col_dst, typename Traits::Blend
cp_src = (Value *)&col_src;
cp_dst = (Value *)&col_dst;
- cp_mix = (Value *)&col_mix;
const Blend cmp = Traits::range / 2;