mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-18 18:01:13 +00:00
warning message cleanup
This is an imperfect revision of history.
This commit is contained in:
parent
9f0903e4ba
commit
b71f12a616
1 changed files with 3 additions and 1 deletions
|
@ -395,10 +395,12 @@ emit_methods (methodlist_t *_methods, const char *name, int instance)
|
||||||
|
|
||||||
if (!_methods)
|
if (!_methods)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
for (count = 0, method = _methods->head; method; method = method->next)
|
for (count = 0, method = _methods->head; method; method = method->next)
|
||||||
if (!method->instance == !instance) {
|
if (!method->instance == !instance) {
|
||||||
if (!method->def && options.warnings.unimplemented) {
|
if (!method->def && options.warnings.unimplemented) {
|
||||||
warning (0, "method %s not implemented", method->name);
|
warning (0, "Method `%c%s' not implemented",
|
||||||
|
method->instance ? '-' : '+', method->name);
|
||||||
}
|
}
|
||||||
count++;
|
count++;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue