summaryrefslogtreecommitdiffabout
path: root/src/preproc.c
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) (side-by-side diff)
treec3a8a3b2c7e68442862a2cb905575d2ffd01fa2c /src/preproc.c
parent2ab621c7efbf9f519bfe0c3f7ac20ebe63361cd8 (diff)
downloadgrecs-6ab660a7f9a9857a56cff44765144016356bd9f1.tar.gz
grecs-6ab660a7f9a9857a56cff44765144016356bd9f1.tar.bz2
Fix grecs_foreach_include_dir
Diffstat (limited to 'src/preproc.c') (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
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)

Return to:

Send suggestions and report system problems to the System administrator.