From 6ab660a7f9a9857a56cff44765144016356bd9f1 Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Mon, 20 Jun 2016 12:50:40 +0300 Subject: Fix grecs_foreach_include_dir --- src/preproc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/preproc.c b/src/preproc.c index 8b59f21..183af3a 100644 --- a/src/preproc.c +++ b/src/preproc.c @@ -257,7 +257,7 @@ static int foreach_dir(struct grecs_list *list, int flag, int (*fun)(int, const char *, void *), void *data) { - int rc; + int rc = 0; struct grecs_list_entry *ep; for (ep = list->head; rc == 0 && ep; ep = ep->next) -- cgit v1.2.1