Remove unreachable code

* strace.c (process_opt_p_list): Remove unreachable code.
This commit is contained in:
Denys Vlasenko 2012-03-26 13:41:56 +02:00
parent 94f00e62b4
commit df790130ff

View File

@ -833,13 +833,9 @@ process_opt_p_list(char *opt)
pid = string_to_uint(opt);
if (pid <= 0) {
error_msg_and_die("Invalid process id: '%s'", opt);
*delim = c;
return;
}
if (pid == strace_tracer_pid) {
error_msg_and_die("I'm sorry, I can't let you do that, Dave.");
*delim = c;
return;
}
*delim = c;
alloctcb(pid);