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>2021-03-20 21:56:19 +0300
committerJacques Lucke <jacques@blender.org>2021-03-20 21:56:19 +0300
commit11494e9472db54c0dc078c9d97fe9c53b763641b (patch)
tree58cfa5bc25a2faaf3284cbd5096d78a0478b55a4 /source/blender/nodes/shader/nodes/node_shader_vector_rotate.cc
parent90959c23728fe569d16ce0a962e841e5accd9e51 (diff)
BLI: add macro to indicate unreachable codetemp-unreachable-abort
Diffstat (limited to 'source/blender/nodes/shader/nodes/node_shader_vector_rotate.cc')
-rw-r--r--source/blender/nodes/shader/nodes/node_shader_vector_rotate.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/nodes/shader/nodes/node_shader_vector_rotate.cc b/source/blender/nodes/shader/nodes/node_shader_vector_rotate.cc
index 30b043439b8..b3406689622 100644
--- a/source/blender/nodes/shader/nodes/node_shader_vector_rotate.cc
+++ b/source/blender/nodes/shader/nodes/node_shader_vector_rotate.cc
@@ -181,8 +181,7 @@ static const blender::fn::MultiFunction &get_multi_function(
return fn;
}
default:
- BLI_assert(false);
- return builder.get_not_implemented_fn();
+ BLI_UNREACHABLE_ABORT;
}
}