summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--asm/nasm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/asm/nasm.c b/asm/nasm.c
index 05727fc2..ec6a959d 100644
--- a/asm/nasm.c
+++ b/asm/nasm.c
@@ -1756,7 +1756,7 @@ static bool skip_this_pass(errflags severity)
* pass0 is 2 on the code-generation (final) pass only.
* These are the passes we care about in this case.
*/
- return (((severity & ERR_PASS1) && passn != 1) ||
+ return (((severity & ERR_PASS1) && passn != 1) &&
((severity & ERR_PASS2) && pass0 != 2));
}