Bah humbug!

Two uninitialised variables were causing a phkmalloc warning (another notch
in phkmalloc's belt) and caused the full rcstemplate to not be constructed
for commits on freefall.
This commit is contained in:
Peter Wemm 1995-12-25 03:26:26 +00:00
parent 665823d011
commit 9e4b2b92b8

View File

@ -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);