Mercurial > emacs
diff lib-src/sorted-doc.c @ 70285:0f15a453179c
(main): Initialize docs to NULL.
author | Dan Nicolaescu <dann@ics.uci.edu> |
---|---|
date | Sat, 29 Apr 2006 22:15:04 +0000 |
parents | 3661e9b3c48f |
children | fa429804cb96 2ecafc6d5db7 |
line wrap: on
line diff
--- a/lib-src/sorted-doc.c Sat Apr 29 21:36:04 2006 +0000 +++ b/lib-src/sorted-doc.c Sat Apr 29 22:15:04 2006 +0000 @@ -131,7 +131,7 @@ register enum state state = WAITING; /* state at start */ int cnt = 0; /* number of DOCSTRs read */ - DOCSTR *docs; /* chain of allocated DOCSTRS */ + DOCSTR *docs = NULL; /* chain of allocated DOCSTRS */ char buf[512]; /* line buffer */ while (1) /* process one char at a time */