1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-16 10:20:30 +00:00

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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=13010

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