changeset 11264:e34e076c5d47

(tgetent): Don't try to return the allocated address. Always return 1 if successful.
author Richard M. Stallman <rms@gnu.org>
date Fri, 07 Apr 1995 18:58:05 +0000
parents 56feeecbb05a
children b2291296ec87
files src/termcap.c
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/termcap.c	Fri Apr 07 18:49:03 1995 +0000
+++ b/src/termcap.c	Fri Apr 07 18:58:05 1995 +0000
@@ -561,8 +561,6 @@
 
  ret:
   term_entry = bp;
-  if (malloc_size)
-    return (int) bp;
   return 1;
 }