isl_set_copy_basic_set: add missing return
authorSven Verdoolaege <skimo@purples.(none)>
Sat, 5 Sep 2009 22:16:09 +0000 (00:16 +0200)
committerSven Verdoolaege <skimo@purples.(none)>
Sun, 6 Sep 2009 15:57:15 +0000 (17:57 +0200)
isl_map.c

index e9a636f..d7c5d43 100644 (file)
--- a/isl_map.c
+++ b/isl_map.c
@@ -4412,7 +4412,8 @@ struct isl_basic_map *isl_map_copy_basic_map(struct isl_map *map)
 
 struct isl_basic_set *isl_set_copy_basic_set(struct isl_set *set)
 {
-       (struct isl_basic_set *)isl_map_copy_basic_map((struct isl_map *)set);
+       return (struct isl_basic_set *)
+               isl_map_copy_basic_map((struct isl_map *)set);
 }
 
 struct isl_map *isl_map_drop_basic_map(struct isl_map *map,