]> git.eshelyaron.com Git - emacs.git/commitdiff
(tgetent): Don't try to return the allocated address.
authorRichard M. Stallman <rms@gnu.org>
Fri, 7 Apr 1995 18:58:05 +0000 (18:58 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 7 Apr 1995 18:58:05 +0000 (18:58 +0000)
Always return 1 if successful.

src/termcap.c

index be5d0392ccde836c55c12460e6b8172f1862d480..bf16ed2824caa9b65bd3010e1c2fa06c94dbc8ce 100644 (file)
@@ -561,8 +561,6 @@ tgetent (bp, name)
 
  ret:
   term_entry = bp;
-  if (malloc_size)
-    return (int) bp;
   return 1;
 }