From bf11bb58fe24f09cca6c964c6eaae663e0fe6b9c Mon Sep 17 00:00:00 2001 From: Sven Verdoolaege Date: Fri, 19 Dec 2008 16:40:32 +0100 Subject: [PATCH] isl_convex_hull.c: remove dead code The removed code would handle 0D polytopes, but they have been handled already a couple of lines up and there is no way for the dimension to change between the two tests. --- isl_convex_hull.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/isl_convex_hull.c b/isl_convex_hull.c index 4d09999..9a5a202 100644 --- a/isl_convex_hull.c +++ b/isl_convex_hull.c @@ -1048,11 +1048,6 @@ static struct isl_basic_set *uset_convex_hull(struct isl_set *set) set = isl_set_remove_empty_parts(set); if (!set) return NULL; - if (isl_set_n_dim(set) == 0) { - convex_hull = isl_basic_set_empty(set->ctx, 0, 0); - isl_set_free(set); - return convex_hull; - } if (set->n == 1) { convex_hull = isl_basic_set_copy(set->p[0]); isl_set_free(set); -- 2.7.4