diff options
author | Campbell Barton <campbell@blender.org> | 2022-11-08 08:58:37 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-11-08 08:58:37 +0300 |
commit | 642ff82f749dc480875e2047eb5e9a9227f59093 (patch) | |
tree | 337729f263df8cc9ead4bd43e033a7a7d41a43ea /source/blender/makesrna/intern/rna_nodetree.c | |
parent | 3c1fb9aea1c843f9a60e538505eadfce95fdf728 (diff) |
Cleanup: format, remove commented code & unused variable
Diffstat (limited to 'source/blender/makesrna/intern/rna_nodetree.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_nodetree.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/source/blender/makesrna/intern/rna_nodetree.c b/source/blender/makesrna/intern/rna_nodetree.c index 9dc940059dd..cfec020c739 100644 --- a/source/blender/makesrna/intern/rna_nodetree.c +++ b/source/blender/makesrna/intern/rna_nodetree.c @@ -4512,15 +4512,8 @@ static void rna_NodeConvertColorSpace_to_color_space_set(struct PointerRNA *ptr, } static const EnumPropertyItem *rna_NodeConvertColorSpace_color_space_itemf( - bContext *C, PointerRNA *UNUSED(ptr), PropertyRNA *UNUSED(prop), bool *r_free) + bContext *UNUSED(C), PointerRNA *UNUSED(ptr), PropertyRNA *UNUSED(prop), bool *r_free) { -# if 0 /* FIXME: Causes blank drop-down, see T102316. */ - if (C == NULL) { - return rna_enum_color_space_convert_default_items; - } -# else - UNUSED_VARS(C); -# endif EnumPropertyItem *items = NULL; int totitem = 0; |