diff options
author | Richard M. Stallman <rms@gnu.org> | 1995-04-07 18:58:05 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1995-04-07 18:58:05 +0000 |
commit | fef91f5ac2b1ea7087cc1188a1883d3405a2ce68 (patch) | |
tree | b6ade1e0d040f0ce588326b69d69b5284f2723ec /src/termcap.c | |
parent | 57937a87a6f35e1b10e6f5ea7c63c90f5e5f2d7e (diff) | |
download | emacs-fef91f5ac2b1ea7087cc1188a1883d3405a2ce68.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.c | 2 |
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; } |