]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* varobj.c (instantiate_pretty_printer): Remove duplicate
authorTom Tromey <tromey@redhat.com>
Thu, 31 Mar 2011 16:20:46 +0000 (16:20 +0000)
committerTom Tromey <tromey@redhat.com>
Thu, 31 Mar 2011 16:20:46 +0000 (16:20 +0000)
'return'.

gdb/ChangeLog
gdb/varobj.c

index 69c44a7561c91eae90fbecd8c8c16a389085e65c..d6eb28b7c3b59ba4e9f1708e5d1838ace8ecb8f7 100644 (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
index 99d8d45e420917e5348bc2a139bac686a0c97210..124909a2ab3d755d81a23a3dc07851c9f5d00fdc 100644 (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