mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-14 00:40:55 +00:00
Don't warn when adding a new method to an implementation.
Methods defined in the implementation but not declared in the interface are just fine.
This commit is contained in:
parent
6d494bfcdf
commit
699799bfc8
1 changed files with 0 additions and 6 deletions
|
@ -469,12 +469,6 @@ class_find_method (class_type_t *class_type, method_t *method)
|
||||||
}
|
}
|
||||||
sel = dstring_newstr ();
|
sel = dstring_newstr ();
|
||||||
selector_name (sel, (keywordarg_t *)method->selector);
|
selector_name (sel, (keywordarg_t *)method->selector);
|
||||||
if (options.warnings.interface_check) {
|
|
||||||
warning (0, "Method `%c%s' not found in %s%s's interface",
|
|
||||||
method->instance ? '-' : '+',
|
|
||||||
sel->str, class_name,
|
|
||||||
category_name ? va (" (%s)", category_name) : "");
|
|
||||||
}
|
|
||||||
set_self_type (start_class, method);
|
set_self_type (start_class, method);
|
||||||
add_method (start_methods, method);
|
add_method (start_methods, method);
|
||||||
dstring_delete (sel);
|
dstring_delete (sel);
|
||||||
|
|
Loading…
Reference in a new issue