Remove dead code from objc-lang.c (spurious "fprintf (stderr...")
authorSergio Durigan Junior <sergiodj@redhat.com>
Tue, 16 Sep 2014 19:34:27 +0000 (15:34 -0400)
committerSergio Durigan Junior <sergiodj@redhat.com>
Tue, 16 Sep 2014 19:34:27 +0000 (15:34 -0400)
This obvious change removes dead code from objc-lang.c.  I was
grepping for "fprintf (stderr..." and found this code between "#if
0".."#endif" blocks.

2014-09-16  Sergio Durigan Junior  <sergiodj@redhat.com>

* objc-lang.c (find_implementation_from_class): Remove dead code.

gdb/ChangeLog
gdb/objc-lang.c

index d6453f179328a343d1b82c25e1c94a7d994501ac..82162743ebf6c30d55749b02fa1b209073123335 100644 (file)
@@ -1,3 +1,7 @@
+2014-09-16  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * objc-lang.c (find_implementation_from_class): Remove dead code.
+
 2014-09-16  Sergio Durigan Junior  <sergiodj@redhat.com>
 
        PR cli/7233
index 22f6089ac2cae43c39485942bc94ba341c958ca5..d911d8f55bea90f5aa44cc5c754232f1a2c9a623 100644 (file)
@@ -1472,11 +1472,6 @@ find_implementation_from_class (struct gdbarch *gdbarch,
              struct objc_method meth_str;
 
              read_objc_methlist_method (gdbarch, mlist, i, &meth_str);
-#if 0
-             fprintf (stderr, 
-                      "checking method 0x%lx against selector 0x%lx\n", 
-                      meth_str.name, sel);
-#endif
 
              if (meth_str.name == sel) 
                /* FIXME: hppa arch was doing a pointer dereference
This page took 0.06364 seconds and 4 git commands to generate.