diff options
| author | Dan Nicolaescu | 2006-04-29 22:15:04 +0000 |
|---|---|---|
| committer | Dan Nicolaescu | 2006-04-29 22:15:04 +0000 |
| commit | 7fe8b491e19c8f4a64c97c876c563506157f3868 (patch) | |
| tree | 45ecef9c653af0f17b26853f1e4df2ceef5cc4ff /lib-src | |
| parent | cdeda579513bea2a3fbf5916e0b08eb08c0b91a0 (diff) | |
| download | emacs-7fe8b491e19c8f4a64c97c876c563506157f3868.tar.gz emacs-7fe8b491e19c8f4a64c97c876c563506157f3868.zip | |
(main): Initialize docs to NULL.
Diffstat (limited to 'lib-src')
| -rw-r--r-- | lib-src/ChangeLog | 2 | ||||
| -rw-r--r-- | lib-src/sorted-doc.c | 2 |
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 @@ | |||
| 1 | 2006-04-29 Dan Nicolaescu <dann@ics.uci.edu> | 1 | 2006-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 */ |