[Bf-blender-cvs] [cc70f7d048b] master: Cleanup: undeclared variable warning

Campbell Barton noreply at git.blender.org
Tue Dec 10 01:35:10 CET 2019


Commit: cc70f7d048be1970b80e9493b269b331e8adee54
Author: Campbell Barton
Date:   Tue Dec 10 11:06:17 2019 +1100
Branches: master
https://developer.blender.org/rBcc70f7d048be1970b80e9493b269b331e8adee54

Cleanup: undeclared variable warning

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

M	source/blender/makesrna/intern/rna_space.c

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

diff --git a/source/blender/makesrna/intern/rna_space.c b/source/blender/makesrna/intern/rna_space.c
index c26ba5b022d..3e6d7352d02 100644
--- a/source/blender/makesrna/intern/rna_space.c
+++ b/source/blender/makesrna/intern/rna_space.c
@@ -374,7 +374,7 @@ static const EnumPropertyItem rna_enum_studio_light_items[] = {
     {0, NULL, 0, NULL, NULL},
 };
 
-const EnumPropertyItem rna_enum_view3dshading_render_pass_type_items[] = {
+static const EnumPropertyItem rna_enum_view3dshading_render_pass_type_items[] = {
     {SCE_PASS_COMBINED, "COMBINED", 0, "Combined", ""},
     /* {SCE_PASS_Z, "Z", 0, "Z", ""},*/
     {SCE_PASS_AO, "AO", 0, "Ambient Occlusion", ""},



More information about the Bf-blender-cvs mailing list