summaryrefslogtreecommitdiff
path: root/src/termcap.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/termcap.c')
-rw-r--r--src/termcap.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/termcap.c b/src/termcap.c
index be5d0392ccd..bf16ed2824c 100644
--- a/src/termcap.c
+++ b/src/termcap.c
@@ -561,8 +561,6 @@ tgetent (bp, name)
ret:
term_entry = bp;
- if (malloc_size)
- return (int) bp;
return 1;
}