From 22d0604a2b2b9483aff13078488d869d8c6e0b07 Mon Sep 17 00:00:00 2001 From: Sven Verdoolaege Date: Fri, 16 Feb 2018 09:39:52 +0100 Subject: [PATCH] isl_pw_*_eval: fix type of variable This was missing from isl-0.14.1-479-g370a8b7d07 (introduce isl_bool and isl_stat return types, Mon May 4 09:45:16 2015 +0200). Signed-off-by: Sven Verdoolaege --- isl_pw_templ.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/isl_pw_templ.c b/isl_pw_templ.c index 6b6b5ad3..87d79c18 100644 --- a/isl_pw_templ.c +++ b/isl_pw_templ.c @@ -718,7 +718,7 @@ __isl_give isl_val *FN(PW,eval)(__isl_take PW *pw, __isl_take isl_point *pnt) { int i; isl_bool is_void; - int found = 0; + isl_bool found; isl_ctx *ctx; isl_space *pnt_dim = NULL; isl_val *v; @@ -735,6 +735,7 @@ __isl_give isl_val *FN(PW,eval)(__isl_take PW *pw, __isl_take isl_point *pnt) if (is_void) return FN(PW,eval_void)(pw, pnt); + found = isl_bool_false; for (i = 0; i < pw->n; ++i) { found = isl_set_contains_point(pw->p[i].set, pnt); if (found < 0) -- 2.11.4.GIT