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:
b44b999
)
isl_vertices.c: avoid use of unitialized variables on an error path
author
Sven Verdoolaege
<skimo@kotnet.org>
Wed, 25 May 2011 14:12:03 +0000
(16:12 +0200)
committer
Sven Verdoolaege
<skimo@kotnet.org>
Wed, 25 May 2011 14:12:03 +0000
(16:12 +0200)
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_vertices.c
patch
|
blob
|
history
diff --git
a/isl_vertices.c
b/isl_vertices.c
index
1dd0f03
..
9611d6b
100644
(file)
--- a/
isl_vertices.c
+++ b/
isl_vertices.c
@@
-392,10
+392,10
@@
__isl_give isl_vertices *isl_basic_set_compute_vertices(
int level;
int init;
unsigned nvar;
- int *selection;
+ int *selection
= NULL
;
int selected;
- struct isl_tab_undo **snap;
- isl_mat *facets;
+ struct isl_tab_undo **snap
= NULL
;
+ isl_mat *facets
= NULL
;
struct isl_vertex_list *list = NULL;
int n_vertices = 0;
isl_vertices *vertices;