This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH]: Fix warnings in objc-lang.c
- From: Adam Fedor <fedor at doc dot com>
- To: GDB Patches <gdb-patches at sources dot redhat dot com>
- Date: Fri, 20 Dec 2002 09:51:28 -0700
- Subject: [PATCH]: Fix warnings in objc-lang.c
This is an obvious fix...
2002-12-20 Adam Fedor <fedor@gnu.org>
* objc-lang.c (lookup_objc_class, lookup_child_selector): Remove
last argument from complaint function call.
Index: objc-lang.c
===================================================================
RCS file: /cvs/src/src/gdb/objc-lang.c,v
retrieving revision 1.8
diff -u -p -r1.8 objc-lang.c
--- objc-lang.c 17 Dec 2002 00:39:07 -0000 1.8
+++ objc-lang.c 20 Dec 2002 16:44:30 -0000
@@ -151,8 +151,7 @@ lookup_objc_class (char *classname)
function = find_function_in_inferior("objc_lookup_class");
else
{
- complaint (&symfile_complaints, "no way to lookup Objective-C classes",
- 0);
+ complaint (&symfile_complaints, "no way to lookup Objective-C classes");
return 0;
}
@@ -179,8 +178,7 @@ lookup_child_selector (char *selname)
function = find_function_in_inferior("sel_get_any_uid");
else
{
- complaint (&symfile_complaints, "no way to lookup Objective-C selectors",
- 0);
+ complaint (&symfile_complaints, "no way to lookup Objective-C selectors");
return 0;
}