Terminal: Remove unused code
This commit is contained in:
parent
b334259a07
commit
0f52f49188
|
@ -181,13 +181,6 @@ void Terminal::run()
|
||||||
perror("ioctl");
|
perror("ioctl");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
const pid_t fgpgrp = tcgetpgrp(m_shell_info.pts_master);
|
|
||||||
if (fgpgrp == -1)
|
|
||||||
{
|
|
||||||
perror("tcgetpgrp");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
|
|
||||||
const int max_fd = BAN::Math::max(m_shell_info.pts_master, m_window->server_fd());
|
const int max_fd = BAN::Math::max(m_shell_info.pts_master, m_window->server_fd());
|
||||||
|
|
Loading…
Reference in New Issue