aboutsummaryrefslogtreecommitdiff
path: root/tty-term.c
diff options
context:
space:
mode:
Diffstat (limited to 'tty-term.c')
-rw-r--r--tty-term.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tty-term.c b/tty-term.c
index 47da3905..b692a6cc 100644
--- a/tty-term.c
+++ b/tty-term.c
@@ -496,8 +496,7 @@ tty_term_find(char *name, int fd, char **cause)
a = options_array_first(o);
while (a != NULL) {
ov = options_array_item_value(a);
- if (ov != NULL)
- tty_term_override(term, ov->string);
+ tty_term_override(term, ov->string);
a = options_array_next(a);
}