Add debug annotation for unusual code paths
This commit is contained in:
parent
82f90f3f6c
commit
73f483c06b
@ -64,3 +64,9 @@ void
|
||||
unreachable (const std::string& what) {
|
||||
panic (" Unreachable code executed: " + what);
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
unusual (void) {
|
||||
panic ("Unusual code path found.");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user