don't print the file or line number for "warnings treated as errors"

This commit is contained in:
Bill Currie 2001-09-23 04:08:28 +00:00
parent 2054ec016a
commit 789a11d2d8

View file

@ -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);