* varobj.c (instantiate_pretty_printer): Remove duplicate

'return'.
This commit is contained in:
Tom Tromey
2011-03-31 16:20:46 +00:00
parent fcf250e2ba
commit f4f7ab0529
2 changed files with 5 additions and 1 deletions

View File

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