Mercurial > emacs
changeset 103623:e5da8db417c0
Remove useless if-before-free test.
* make-docfile.c (scan_lisp_file): Remove useless test.
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Mon, 29 Jun 2009 05:27:53 +0000 |
parents | f16f1c3154df |
children | 3e06f0e66062 |
files | lib-src/ChangeLog lib-src/make-docfile.c |
diffstat | 2 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lib-src/ChangeLog Mon Jun 29 03:25:10 2009 +0000 +++ b/lib-src/ChangeLog Mon Jun 29 05:27:53 2009 +0000 @@ -1,3 +1,8 @@ +2009-06-29 Jim Meyering <meyering@redhat.com> + + Remove useless if-before-free test. + * make-docfile.c (scan_lisp_file): Remove useless test. + 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu> * Makefile.in (movemail.o): Don't pass -Demacs, unused.
--- a/lib-src/make-docfile.c Mon Jun 29 03:25:10 2009 +0000 +++ b/lib-src/make-docfile.c Mon Jun 29 05:27:53 2009 +0000 @@ -907,8 +907,7 @@ length--; /* Read in the contents. */ - if (saved_string != 0) - free (saved_string); + free (saved_string); saved_string = (char *) xmalloc (length); for (i = 0; i < length; i++) saved_string[i] = getc (infile);