diff options
-rw-r--r-- | gnu/usr.bin/cvs/cvs/logmsg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/usr.bin/cvs/cvs/logmsg.c b/gnu/usr.bin/cvs/cvs/logmsg.c index 5f2763f..7686a36 100644 --- a/gnu/usr.bin/cvs/cvs/logmsg.c +++ b/gnu/usr.bin/cvs/cvs/logmsg.c @@ -294,8 +294,8 @@ rcsinfo_proc (repository, template) if ((tfp = fopen (template, "r")) != NULL) { - char *line; - size_t line_chars_allocated; + char *line = NULL; + size_t line_chars_allocated = 0; while (getline (&line, &line_chars_allocated, tfp) >= 0) (void) fputs (line, fp); |