aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/ChangeLog2
-rw-r--r--lib-src/sorted-doc.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog
index 1118ac226e2..115e43c2d03 100644
--- a/lib-src/ChangeLog
+++ b/lib-src/ChangeLog
@@ -1,5 +1,7 @@
12006-04-29 Dan Nicolaescu <dann@ics.uci.edu> 12006-04-29 Dan Nicolaescu <dann@ics.uci.edu>
2 2
3 * sorted-doc.c (main): Initialize docs to NULL.
4
3 * yow.c (yow): Free buf. 5 * yow.c (yow): Free buf.
4 6
5 * etags.c: Delete c-indentation-style local variable. 7 * etags.c: Delete c-indentation-style local variable.
diff --git a/lib-src/sorted-doc.c b/lib-src/sorted-doc.c
index a2416993a1b..0a06aa2c984 100644
--- a/lib-src/sorted-doc.c
+++ b/lib-src/sorted-doc.c
@@ -131,7 +131,7 @@ main ()
131 register enum state state = WAITING; /* state at start */ 131 register enum state state = WAITING; /* state at start */
132 int cnt = 0; /* number of DOCSTRs read */ 132 int cnt = 0; /* number of DOCSTRs read */
133 133
134 DOCSTR *docs; /* chain of allocated DOCSTRS */ 134 DOCSTR *docs = NULL; /* chain of allocated DOCSTRS */
135 char buf[512]; /* line buffer */ 135 char buf[512]; /* line buffer */
136 136
137 while (1) /* process one char at a time */ 137 while (1) /* process one char at a time */