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:
Kevin Easton
2017-09-02 07:03:10 +10:00
parent 9080475ff7
commit c9b0e654b5

View File

@@ -64,8 +64,6 @@ static int tty_des; /* descriptor for the tty */
static struct termios oldb, newb;
char my_PC, *BC, *UP;
int BClen, UPlen;
extern int already_detached;
#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;
co = current_term->TI_cols;
if (!co)