Initialize all file pointers to NULL in initpointers

This commit is contained in:
Lew Rossman
2019-03-05 20:50:34 -05:00
parent 324487ba86
commit 8765dfa3ab
2 changed files with 8 additions and 2 deletions

View File

@@ -265,6 +265,12 @@ void initpointers(Project *pr)
pr->hydraul.smatrix.XLNZ = NULL;
pr->hydraul.smatrix.NZSUB = NULL;
pr->hydraul.smatrix.LNZ = NULL;
pr->outfile.OutFile = NULL;
pr->outfile.HydFile = NULL;
pr->outfile.TmpOutFile = NULL;
pr->parser.InFile = NULL;
pr->report.RptFile = NULL;
initrules(pr);
}