summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nasm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/nasm.c b/nasm.c
index 4df3c373..02e34a18 100644
--- a/nasm.c
+++ b/nasm.c
@@ -2019,8 +2019,7 @@ static void nasm_verror_common(int severity, const char *fmt, va_list args)
* Don't suppress this with skip_this_pass(), or we don't get
* pass1 or preprocessor warnings in the list file
*/
- if ((severity & ERR_MASK) >= ERR_WARNING)
- lfmt->error(severity, pfx, msg);
+ lfmt->error(severity, pfx, msg);
if (severity & ERR_USAGE)
want_usage = true;