Cleanup: remove unused variable

This commit is contained in:
Campbell Barton 2022-03-11 12:38:34 +11:00
parent d73726dbbe
commit f527d6582b
1 changed files with 0 additions and 5 deletions

View File

@ -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: {