From: Richard M. Stallman Date: Fri, 7 Apr 1995 18:58:05 +0000 (+0000) Subject: (tgetent): Don't try to return the allocated address. X-Git-Tag: emacs-19.34~4594 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=fef91f5ac2b1ea7087cc1188a1883d3405a2ce68;p=emacs.git (tgetent): Don't try to return the allocated address. Always return 1 if successful. --- 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; }