[Bf-blender-cvs] [31828449145] master: Fix: missing return

Jacques Lucke noreply at git.blender.org
Fri Apr 30 13:12:02 CEST 2021


Commit: 31828449145c23f72a67cd7d15c9c81c22b160cd
Author: Jacques Lucke
Date:   Fri Apr 30 13:11:01 2021 +0200
Branches: master
https://developer.blender.org/rB31828449145c23f72a67cd7d15c9c81c22b160cd

Fix: missing return

===================================================================

M	source/blender/functions/FN_generic_virtual_array.hh

===================================================================

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);
   }



More information about the Bf-blender-cvs mailing list