diff options
author | H. Peter Anvin <hpa@zytor.com> | 2018-12-10 21:14:57 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2018-12-10 21:14:57 -0800 |
commit | 54aac9d3c1b501050e6e75823317a4e34d6b2066 (patch) | |
tree | a2735e905bf04e07f187223ee86d33435049dfe0 | |
parent | 48a810fc19bd3c94e781610de1b3ddda289986b2 (diff) | |
download | nasm-54aac9d3c1b501050e6e75823317a4e34d6b2066.tar.gz |
errors: add ERR_NOTE and a default clause to error dispositionnasm-2.14.01rc2
ERR_NOTE has no action. Have a default clause as well, for good
measure.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r-- | asm/nasm.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1929,6 +1929,7 @@ static void nasm_verror_common(int severity, const char *fmt, va_list args) preproc->error_list_macros(severity); switch (severity & ERR_MASK) { + case ERR_NOTE: case ERR_DEBUG: /* no further action, by definition */ break; @@ -1965,6 +1966,8 @@ static void nasm_verror_common(int severity, const char *fmt, va_list args) } exit(3); break; + default: + break; /* ??? */ } } |