mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-11-08 23:27:15 -05:00
fix [warning push] causing "unknown warning name"
[warning push] emitted a "unknown warning name" warning when -w+unknown-warning is set.
This commit is contained in:
committed by
H. Peter Anvin
parent
ca178f80d8
commit
94c6ecda5b
@@ -526,8 +526,9 @@ bool process_directives(char *directive)
|
||||
push_warnings();
|
||||
else if (!nasm_stricmp(value, "pop"))
|
||||
pop_warnings();
|
||||
} else {
|
||||
set_warning_status(value);
|
||||
}
|
||||
set_warning_status(value);
|
||||
break;
|
||||
|
||||
case D_CPU: /* [CPU] */
|
||||
|
||||
Reference in New Issue
Block a user