mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00:00
Add an assertion to reflect unreachable code
This commit is contained in:
parent
15e095233b
commit
98091faeaf
1 changed files with 1 additions and 0 deletions
1
exec.cpp
1
exec.cpp
|
@ -1388,6 +1388,7 @@ void exec_job(parser_t &parser, job_t *j)
|
||||||
/*
|
/*
|
||||||
safe_launch_process _never_ returns...
|
safe_launch_process _never_ returns...
|
||||||
*/
|
*/
|
||||||
|
assert(0 && "safe_launch_process should not have returned");
|
||||||
}
|
}
|
||||||
else if (pid < 0)
|
else if (pid < 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue