aboutsummaryrefslogtreecommitdiff
path: root/gdb/varobj.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2011-03-31 16:20:46 +0000
committerTom Tromey <tromey@redhat.com>2011-03-31 16:20:46 +0000
commitf4f7ab05292e8d7c8e93c72ca9e8ac80cec44acd (patch)
tree3c571e41a03881d1d34fb16de36f21e725664a41 /gdb/varobj.c
parentfcf250e2bae3e6053af11b2e42bd59dcd3762ab3 (diff)
downloadgdb-f4f7ab05292e8d7c8e93c72ca9e8ac80cec44acd.zip
gdb-f4f7ab05292e8d7c8e93c72ca9e8ac80cec44acd.tar.gz
gdb-f4f7ab05292e8d7c8e93c72ca9e8ac80cec44acd.tar.bz2
* varobj.c (instantiate_pretty_printer): Remove duplicate
'return'.
Diffstat (limited to 'gdb/varobj.c')
-rw-r--r--gdb/varobj.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/varobj.c b/gdb/varobj.c
index 99d8d45..124909a 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