mirror of
https://github.com/holub/mame
synced 2025-07-04 17:38:08 +03:00
Changing an 'assert(false)' to 'throw false', so that this always errors even in non-debug builds
This commit is contained in:
parent
402d84ff34
commit
b5a2d1bc77
@ -316,8 +316,8 @@ void option_resolution::entry::parse_specification(const char *specification)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// invalid character
|
// invalid character - abort because we cannot recover from this syntax error
|
||||||
assert(false && "Syntax error in specification");
|
throw false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user