From 0a65b3614ee0fe074ac2c63c3489a69342917f7b Mon Sep 17 00:00:00 2001 From: Sven Verdoolaege Date: Wed, 25 May 2011 16:12:03 +0200 Subject: [PATCH] isl_vertices.c: avoid use of unitialized variables on an error path Signed-off-by: Sven Verdoolaege --- isl_vertices.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/isl_vertices.c b/isl_vertices.c index 1dd0f03..9611d6b 100644 --- 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; -- 2.7.4