Cleanup: remove unused variable
This commit is contained in:
parent
d73726dbbe
commit
f527d6582b
|
@ -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: {
|
||||
|
|
Loading…
Reference in New Issue