From f4f7ab05292e8d7c8e93c72ca9e8ac80cec44acd Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Thu, 31 Mar 2011 16:20:46 +0000 Subject: * varobj.c (instantiate_pretty_printer): Remove duplicate 'return'. --- gdb/ChangeLog | 5 +++++ gdb/varobj.c | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 69c44a7561..d6eb28b7c3 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2011-03-31 Tom Tromey + + * varobj.c (instantiate_pretty_printer): Remove duplicate + 'return'. + 2011-03-31 Ulrich Weigand * i386-tdep.c (i386_frame_prev_register): Unwind SP from memory diff --git a/gdb/varobj.c b/gdb/varobj.c index 99d8d45e42..124909a2ab 100644 --- a/gdb/varobj.c +++ b/gdb/varobj.c @@ -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 -- cgit v1.2.1