mirror of
https://github.com/holub/mame
synced 2025-04-24 01:11:11 +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
|
||||
{
|
||||
// invalid character
|
||||
assert(false && "Syntax error in specification");
|
||||
// invalid character - abort because we cannot recover from this syntax error
|
||||
throw false;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user