* varobj.c (instantiate_pretty_printer): Remove duplicate
'return'.
This commit is contained in:
parent
fcf250e2ba
commit
f4f7ab0529
2 changed files with 5 additions and 1 deletions
|
@ -785,7 +785,6 @@ instantiate_pretty_printer (PyObject *constructor, struct value *value)
|
|||
printer = PyObject_CallFunctionObjArgs (constructor, val_obj, NULL);
|
||||
Py_DECREF (val_obj);
|
||||
return printer;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue