projects
/
platform
/
upstream
/
isl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0387212
)
isl_polytope_scan: improve error handling
author
Sven Verdoolaege
<skimo@kotnet.org>
Wed, 1 Sep 2010 14:35:56 +0000
(16:35 +0200)
committer
Sven Verdoolaege
<skimo@kotnet.org>
Sat, 4 Sep 2010 09:02:36 +0000
(11:02 +0200)
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
polytope_scan.c
patch
|
blob
|
history
diff --git
a/polytope_scan.c
b/polytope_scan.c
index
41983aa
..
fbd80ae
100644
(file)
--- a/
polytope_scan.c
+++ b/
polytope_scan.c
@@
-72,6
+72,9
@@
static struct isl_mat *isl_basic_set_samples(struct isl_basic_set *bset)
struct isl_mat *T;
struct isl_mat *samples;
+ if (!bset)
+ return NULL;
+
if (bset->n_eq == 0)
return isl_basic_set_scan_samples(bset);