isl_pw_*_eval: fix handling of empty input
authorSven Verdoolaege <skimo@kotnet.org>
Mon, 3 May 2010 16:57:18 +0000 (18:57 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Tue, 4 May 2010 07:36:00 +0000 (09:36 +0200)
isl_pw_templ.c

index d864c3c..edf6a54 100644 (file)
@@ -250,7 +250,7 @@ __isl_give isl_qpolynomial *FN(PW,eval)(__isl_take PW *pw,
        __isl_take isl_point *pnt)
 {
        int i;
-       int found;
+       int found = 0;
        isl_qpolynomial *qp;
 
        if (!pw || !pnt)