Remove unused variables BC, UP and my_PC
These appear to be a hangover from old termcap-using code, but there's nothing in BX that uses them anymore.
This commit is contained in:
@@ -64,8 +64,6 @@ static int tty_des; /* descriptor for the tty */
|
|||||||
|
|
||||||
static struct termios oldb, newb;
|
static struct termios oldb, newb;
|
||||||
|
|
||||||
char my_PC, *BC, *UP;
|
|
||||||
int BClen, UPlen;
|
|
||||||
extern int already_detached;
|
extern int already_detached;
|
||||||
|
|
||||||
#if !defined(WTERM_C)
|
#if !defined(WTERM_C)
|
||||||
@@ -874,22 +872,6 @@ int term_init (char *term)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
BC = current_term->TI_cub1;
|
|
||||||
UP = current_term->TI_cuu1;
|
|
||||||
if (current_term->TI_pad)
|
|
||||||
my_PC = current_term->TI_pad[0];
|
|
||||||
else
|
|
||||||
my_PC = 0;
|
|
||||||
|
|
||||||
if (BC)
|
|
||||||
BClen = strlen(BC);
|
|
||||||
else
|
|
||||||
BClen = 0;
|
|
||||||
if (UP)
|
|
||||||
UPlen = strlen(UP);
|
|
||||||
else
|
|
||||||
UPlen = 0;
|
|
||||||
|
|
||||||
li = current_term->TI_lines;
|
li = current_term->TI_lines;
|
||||||
co = current_term->TI_cols;
|
co = current_term->TI_cols;
|
||||||
if (!co)
|
if (!co)
|
||||||
|
|||||||
Reference in New Issue
Block a user