summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--basis_reduction_tab.c1
-rw-r--r--isl_affine_hull.c3
-rw-r--r--isl_coalesce.c4
-rw-r--r--isl_convex_hull.c1
4 files changed, 2 insertions, 7 deletions
diff --git a/basis_reduction_tab.c b/basis_reduction_tab.c
index 2f25889a..4ac27e23 100644
--- a/basis_reduction_tab.c
+++ b/basis_reduction_tab.c
@@ -69,7 +69,6 @@ static int cut_lp_to_hyperplane(struct tab_lp *lp, isl_int *row);
*/
static struct isl_tab *gbr_tab(struct isl_tab *tab, struct isl_vec *row)
{
- int i, j;
unsigned dim;
struct isl_tab *prod;
diff --git a/isl_affine_hull.c b/isl_affine_hull.c
index 02f1913e..70a438e5 100644
--- a/isl_affine_hull.c
+++ b/isl_affine_hull.c
@@ -251,7 +251,6 @@ static struct isl_vec *outside_point(struct isl_tab *tab, isl_int *eq, int up)
struct isl_vec *sample = NULL;
struct isl_tab_undo *snap;
unsigned dim;
- int k;
if (!tab)
return NULL;
@@ -356,7 +355,7 @@ error:
static struct isl_basic_set *extend_affine_hull(struct isl_tab *tab,
struct isl_basic_set *hull)
{
- int i, j, k;
+ int i, j;
unsigned dim;
if (!tab || !hull)
diff --git a/isl_coalesce.c b/isl_coalesce.c
index 82bd88f5..73f44ed0 100644
--- a/isl_coalesce.c
+++ b/isl_coalesce.c
@@ -813,9 +813,7 @@ static int can_wrap_in_set(struct isl_map *map, int i, int j,
struct isl_tab **tabs, int *eq_i, int *ineq_i, int *eq_j, int *ineq_j)
{
int changed = 0;
- int k, l, m;
- unsigned total = isl_basic_map_total_dim(map->p[i]);
- struct isl_tab_undo *snap;
+ int k, m;
int n;
int *cuts = NULL;
diff --git a/isl_convex_hull.c b/isl_convex_hull.c
index 17212c36..28958381 100644
--- a/isl_convex_hull.c
+++ b/isl_convex_hull.c
@@ -450,7 +450,6 @@ static __isl_give isl_mat *initial_facet_constraint(__isl_keep isl_set *set)
{
struct isl_set *slice = NULL;
struct isl_basic_set *face = NULL;
- struct isl_mat *m, *U, *Q;
int i;
unsigned dim = isl_set_n_dim(set);
int is_bound;