mirror of
https://salsa.debian.org/dskoll/remind.git
synced 2026-04-22 17:23:03 +02:00
In warnings, give file/lineno where function is defined.
This commit is contained in:
+1
-1
@@ -74,7 +74,7 @@ check_trigger_function(char const *fname, char const *type)
|
||||
if (ensure_expr_references_first_local_arg(f->node)) {
|
||||
return;
|
||||
}
|
||||
Wprint("%s function `%s' does not use its argument", type, fname);
|
||||
Wprint("%s function `%s' defined at %s:%d does not use its argument", type, fname, f->filename, f->lineno);
|
||||
}
|
||||
|
||||
static int
|
||||
|
||||
Reference in New Issue
Block a user