Fix compiler warning.

This commit is contained in:
Simon Kelley committed 2026-02-01 15:44:13 +00:00
1 parent 40d1152059
commit 19f3e06e7a
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -5734,7 +5734,7 @@ struct hostsfile *expand_filelist(struct hostsfile *list)
struct dirent **namelist;
/* find largest used index */
for (i = SRC_AH, ah = list; ah; ah = ah->next)
for (last = NULL, i = SRC_AH, ah = list; ah; ah = ah->next)
{
last = ah;