mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-11 15:37:24 +00:00
Kill an unused variable
This commit is contained in:
parent
cc3efcc3ab
commit
6bd47b8662
1 changed files with 0 additions and 2 deletions
|
@ -780,7 +780,6 @@ static void read_try(job_t *j) {
|
||||||
/// \param cont If this variable is set, we are giving back control to a job that has previously
|
/// \param cont If this variable is set, we are giving back control to a job that has previously
|
||||||
/// been stopped. In that case, we need to set the terminal attributes to those saved in the job.
|
/// been stopped. In that case, we need to set the terminal attributes to those saved in the job.
|
||||||
static bool terminal_give_to_job(job_t *j, int cont) {
|
static bool terminal_give_to_job(job_t *j, int cont) {
|
||||||
int s = 0;
|
|
||||||
errno = 0;
|
errno = 0;
|
||||||
if (j->pgid == 0) {
|
if (j->pgid == 0) {
|
||||||
debug(2, "terminal_give_to_job() returning early due to no process group");
|
debug(2, "terminal_give_to_job() returning early due to no process group");
|
||||||
|
@ -827,7 +826,6 @@ static bool terminal_give_to_job(job_t *j, int cont) {
|
||||||
/// Returns control of the terminal to the shell, and saves the terminal attribute state to the job,
|
/// Returns control of the terminal to the shell, and saves the terminal attribute state to the job,
|
||||||
/// so that we can restore the terminal ownership to the job at a later time.
|
/// so that we can restore the terminal ownership to the job at a later time.
|
||||||
static bool terminal_return_from_job(job_t *j) {
|
static bool terminal_return_from_job(job_t *j) {
|
||||||
int s = 0;
|
|
||||||
errno = 0;
|
errno = 0;
|
||||||
if (j->pgid == 0) {
|
if (j->pgid == 0) {
|
||||||
debug(2, "terminal_return_from_job() returning early due to no process group");
|
debug(2, "terminal_return_from_job() returning early due to no process group");
|
||||||
|
|
Loading…
Reference in a new issue