From b03783efad9e488935bb81e57aca3b3c76bc498a Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Mon, 16 Feb 2009 19:01:16 +0000 Subject: strdup() not necessary here. --- tty-term.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'tty-term.c') diff --git a/tty-term.c b/tty-term.c index ea970f47..8405bfc7 100644 --- a/tty-term.c +++ b/tty-term.c @@ -1,4 +1,4 @@ -/* $Id: tty-term.c,v 1.14 2009-02-12 00:18:05 nicm Exp $ */ +/* $Id: tty-term.c,v 1.15 2009-02-16 19:01:16 nicm Exp $ */ /* * Copyright (c) 2008 Nicholas Marriott @@ -218,9 +218,6 @@ tty_term_find(char *name, int fd, char **cause) for (i = 0; i < NTTYCODE; i++) { ent = &tty_term_codes[i]; -// if (ent->code == TTYC_CSR)/*XXX*/ -// continue; - code = &term->codes[ent->code]; code->type = TTYCODE_NONE; switch (ent->type) { -- cgit