summaryrefslogtreecommitdiff
path: root/src/termcap.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1995-04-07 18:58:05 +0000
committerRichard M. Stallman <rms@gnu.org>1995-04-07 18:58:05 +0000
commit2c31330655da7da37b9f80af4bbff5d913fe1265 (patch)
tree4441ae61f58bd5fbbaa39e97a8b076bd93b7959b /src/termcap.c
parent9ff644722a1efc2863ada3986ea57877c3ac3625 (diff)
downloademacs-2c31330655da7da37b9f80af4bbff5d913fe1265.tar.gz
(tgetent): Don't try to return the allocated address.
Always return 1 if successful.
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;
}