Cleanup: use static declaration, quiet undeclared warning

This commit is contained in:
Campbell Barton
2023-03-16 11:24:14 +11:00
parent 64304b4e27
commit 42380ea996

View File

@@ -161,7 +161,7 @@ const EnumPropertyItem rna_enum_driver_target_rotation_mode_items[] = {
{0, NULL, 0, NULL, NULL},
};
const EnumPropertyItem rna_enum_driver_target_context_property_items[] = {
static const EnumPropertyItem rna_enum_driver_target_context_property_items[] = {
{DTAR_CONTEXT_PROPERTY_ACTIVE_SCENE,
"ACTIVE_SCENE",
ICON_NONE,