summaryrefslogtreecommitdiffabout
path: root/src
authorSergey Poznyakoff <gray@gnu.org>2016-06-20 09:50:40 (GMT)
committer Sergey Poznyakoff <gray@gnu.org>2016-06-20 09:50:40 (GMT)
commit6ab660a7f9a9857a56cff44765144016356bd9f1 (patch) (unidiff)
treec3a8a3b2c7e68442862a2cb905575d2ffd01fa2c /src
parent2ab621c7efbf9f519bfe0c3f7ac20ebe63361cd8 (diff)
downloadgrecs-6ab660a7f9a9857a56cff44765144016356bd9f1.tar.gz
grecs-6ab660a7f9a9857a56cff44765144016356bd9f1.tar.bz2
Fix grecs_foreach_include_dir
Diffstat (limited to 'src') (more/less context) (ignore whitespace changes)
-rw-r--r--src/preproc.c2
1 files changed, 1 insertions, 1 deletions
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
257foreach_dir(struct grecs_list *list, int flag, 257foreach_dir(struct grecs_list *list, int flag,
258 int (*fun)(int, const char *, void *), void *data) 258 int (*fun)(int, const char *, void *), void *data)
259{ 259{
260 int rc; 260 int rc = 0;
261 struct grecs_list_entry *ep; 261 struct grecs_list_entry *ep;
262 262
263 for (ep = list->head; rc == 0 && ep; ep = ep->next) 263 for (ep = list->head; rc == 0 && ep; ep = ep->next)

Return to:

Send suggestions and report system problems to the System administrator.