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 1995-12-25 03:26:26 +00:00
parent cd0154908c
commit 730abc9c16

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