mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-22 02:11:19 +00:00
don't print the file or line number for "warnings treated as errors"
This commit is contained in:
parent
2054ec016a
commit
789a11d2d8
1 changed files with 2 additions and 1 deletions
|
@ -139,7 +139,8 @@ warning (expr_t *e, const char *fmt, ...)
|
|||
|
||||
if (options.warn_error) {
|
||||
options.warn_error = 0; // only want to do this once
|
||||
error (e, "warnings treated as errors");
|
||||
fprintf (stderr, "%s: warnings treated as errors\n", "qfcc");
|
||||
pr_error_count++;
|
||||
}
|
||||
|
||||
va_start (args, fmt);
|
||||
|
|
Loading…
Reference in a new issue