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-04-30 14:11:01 +0300
committerJacques Lucke <jacques@blender.org>2021-04-30 14:11:49 +0300
commit31828449145c23f72a67cd7d15c9c81c22b160cd (patch)
tree352071ad04448ace88571765d9bd0306d4561f16 /source/blender/functions
parenta79b09e7622bbbfbfe5a1f1998dc5c2976a7d57b (diff)
Fix: missing return
Diffstat (limited to 'source/blender/functions')
-rw-r--r--source/blender/functions/FN_generic_virtual_array.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/functions/FN_generic_virtual_array.hh b/source/blender/functions/FN_generic_virtual_array.hh
index fba69f30330..2e91479dd30 100644
--- a/source/blender/functions/FN_generic_virtual_array.hh
+++ b/source/blender/functions/FN_generic_virtual_array.hh
@@ -123,6 +123,7 @@ class GVArray {
BLI_assert(this->is_single());
if (size_ == 1) {
this->get(0, r_value);
+ return;
}
this->get_internal_single_impl(r_value);
}