mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-30 15:30:41 +00:00
Remove dead code from objc-lang.c (spurious "fprintf (stderr...")
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.
This commit is contained in:
parent
2f693f9d21
commit
76aeec5b98
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user