diff options
author | Campbell Barton <campbell@blender.org> | 2022-03-11 04:38:34 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-03-11 04:38:34 +0300 |
commit | f527d6582b2998df1ed2f68772941b1638adbc53 (patch) | |
tree | 76f00f6007a343406341e03418df6b5f9786cb55 | |
parent | d73726dbbe82709ea11995f6be0d28f6290fec26 (diff) |
Cleanup: remove unused variable
-rw-r--r-- | source/blender/python/intern/bpy_rna.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/source/blender/python/intern/bpy_rna.c b/source/blender/python/intern/bpy_rna.c index ab119377e7e..f6ad105f173 100644 --- a/source/blender/python/intern/bpy_rna.c +++ b/source/blender/python/intern/bpy_rna.c @@ -5897,7 +5897,6 @@ static PyObject *pyrna_param_to_py(PointerRNA *ptr, PropertyRNA *prop, void *dat break; case PROP_STRING: { const char *data_ch; - PyObject *value_coerce = NULL; const int subtype = RNA_property_subtype(prop); if (flag & PROP_THICK_WRAP) { @@ -5926,10 +5925,6 @@ static PyObject *pyrna_param_to_py(PointerRNA *ptr, PropertyRNA *prop, void *dat } #endif -#ifdef USE_STRING_COERCE - Py_XDECREF(value_coerce); -#endif - break; } case PROP_ENUM: { |