Do not promote debug messages to warnings.

I think I copied the notice code for debug and forgot to edit the
promotion. Oops.
This commit is contained in:
Bill Currie 2016-01-07 20:08:07 +09:00
parent 1ea74c6269
commit d54ee6c8c3

View file

@ -103,9 +103,7 @@ debug (expr_t *e, const char *fmt, ...)
return; return;
va_start (args, fmt); va_start (args, fmt);
if (options.notices.promote) { {
_warning (e, fmt, args);
} else {
string_t file = pr.source_file; string_t file = pr.source_file;
int line = pr.source_line; int line = pr.source_line;