diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2016-06-20 12:50:40 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2016-06-20 12:50:40 +0300 |
commit | 6ab660a7f9a9857a56cff44765144016356bd9f1 (patch) | |
tree | c3a8a3b2c7e68442862a2cb905575d2ffd01fa2c /src/preproc.c | |
parent | 2ab621c7efbf9f519bfe0c3f7ac20ebe63361cd8 (diff) | |
download | grecs-6ab660a7f9a9857a56cff44765144016356bd9f1.tar.gz grecs-6ab660a7f9a9857a56cff44765144016356bd9f1.tar.bz2 |
Fix grecs_foreach_include_dir
Diffstat (limited to 'src/preproc.c')
-rw-r--r-- | src/preproc.c | 2 |
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 | |||
257 | foreach_dir(struct grecs_list *list, int flag, | 257 | foreach_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) |