* main.c (main): [SV 49935] Fix uninitialized variable.

This commit is contained in:
Martin Dorey 2016-12-26 13:26:44 -05:00 committed by Paul Smith
parent c5ccc4930c
commit bee153c762

2
main.c
View File

@ -2164,7 +2164,7 @@ main (int argc, char **argv, char **envp)
{
struct goaldep *d;
unsigned int num_mkfiles;
unsigned int num_mkfiles = 0;
for (d = read_files; d != NULL; d = d->next)
++num_mkfiles;