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:
authorJeroen Bakker <jeroen@blender.org>2021-03-08 10:52:43 +0300
committerJeroen Bakker <jeroen@blender.org>2021-03-08 10:52:43 +0300
commit74c50d0c773cf0e751ba92c6d0d4af668972e564 (patch)
tree80ce7d3a7c3491ce3167086432e7556bea533e18 /source/blender/blenkernel/intern/cryptomatte.cc
parentcbf033c05519ffa977693a5f6845b476017af08b (diff)
Cleanup: Remove unused variable.
Diffstat (limited to 'source/blender/blenkernel/intern/cryptomatte.cc')
-rw-r--r--source/blender/blenkernel/intern/cryptomatte.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/cryptomatte.cc b/source/blender/blenkernel/intern/cryptomatte.cc
index 6db471e830b..55426f738ff 100644
--- a/source/blender/blenkernel/intern/cryptomatte.cc
+++ b/source/blender/blenkernel/intern/cryptomatte.cc
@@ -206,7 +206,6 @@ char *BKE_cryptomatte_entries_to_matte_id(NodeCryptomatte *node_storage)
void BKE_cryptomatte_matte_id_to_entries(NodeCryptomatte *node_storage, const char *matte_id)
{
BLI_freelistN(&node_storage->entries);
- std::optional<CryptomatteSession> session = std::nullopt;
if (matte_id == nullptr) {
MEM_SAFE_FREE(node_storage->matte_id);