isl_cell_foreach_simplex: use isl_stat instead of int for local variable
commiteb6c2c12b5910dd3ba8d4bb254bf3047ffce0d57
authorTobias Grosser <tobias@grosser.es>
Thu, 31 May 2018 14:36:49 +0000 (31 16:36 +0200)
committerSven Verdoolaege <sven.verdoolaege@gmail.com>
Wed, 6 Jun 2018 21:16:08 +0000 (6 23:16 +0200)
treeb2fca57e988030f16d9aed16e29bff6a96d8254e
parent10c40208b34950c3b742cc7b05a98a428ee7d641
isl_cell_foreach_simplex: use isl_stat instead of int for local variable

The only value assigned to the variable 'r' is of type isl_stat and the
return type of the function which returns 'r' is also of type isl_stat.
This change adjusts the type of the local variable to isl_stat to avoid
two implicit conversions between int and isl_stat. This is an oversight
from 657fb59f (isl_vertices_foreach_{disjoint_cell,simplex}: return
isl_stat, Tue Oct 25 11:50:07 2016 +0200).  Fixing it improves
readability and helps static analysis tools.

Signed-off-by: Tobias Grosser <tobias@grosser.es>
Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
isl_vertices.c