* 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

@ -1,3 +1,8 @@
2011-03-31 Tom Tromey <tromey@redhat.com>
* varobj.c (instantiate_pretty_printer): Remove duplicate
'return'.
2011-03-31 Ulrich Weigand <ulrich.weigand@linaro.org>
* i386-tdep.c (i386_frame_prev_register): Unwind SP from memory

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