x86: insert "no error" enumerator in i386_error enumeration

The value of zero would better not indicate any error, but rather hit
the abort() at the top of the consuming switch().
This commit is contained in:
Jan Beulich
2022-08-18 09:19:34 +02:00
parent 2b57654c27
commit b4d65f2d0b

View File

@ -226,6 +226,7 @@ union i386_op
enum i386_error
{
no_error, /* Must be first. */
operand_size_mismatch,
operand_type_mismatch,
register_type_mismatch,