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

Campbell Barton noreply at git.blender.org
Fri May 31 08:05:41 CEST 2019


Commit: 6b286ca66717a5a5a9c885ec62d4f4ec0af35676
Author: Campbell Barton
Date:   Fri May 31 10:19:48 2019 +1000
Branches: master
https://developer.blender.org/rB6b286ca66717a5a5a9c885ec62d4f4ec0af35676

Cleanup: undeclared variable warning

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

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

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

diff --git a/source/blender/makesrna/intern/rna_gpencil.c b/source/blender/makesrna/intern/rna_gpencil.c
index 925588e8ea6..276b685e93f 100644
--- a/source/blender/makesrna/intern/rna_gpencil.c
+++ b/source/blender/makesrna/intern/rna_gpencil.c
@@ -76,7 +76,7 @@ static EnumPropertyItem rna_enum_gpencil_onion_modes_items[] = {
     {0, NULL, 0, NULL, NULL},
 };
 
-const EnumPropertyItem rna_enum_onion_keyframe_type_items[] = {
+static const EnumPropertyItem rna_enum_onion_keyframe_type_items[] = {
     {-1, "ALL", ICON_ACTION, "All Types", "Include all Keyframe types"},
     {BEZT_KEYTYPE_KEYFRAME,
      "KEYFRAME",



More information about the Bf-blender-cvs mailing list