Add an assertion to reflect unreachable code

This commit is contained in:
ridiculousfish 2014-10-19 18:00:49 -07:00
parent 15e095233b
commit 98091faeaf

View file

@ -1388,6 +1388,7 @@ void exec_job(parser_t &parser, job_t *j)
/*
safe_launch_process _never_ returns...
*/
assert(0 && "safe_launch_process should not have returned");
}
else if (pid < 0)
{