isl_transitive_closure.c: avoid use of an unitialized variable on an error path
authorSven Verdoolaege <skimo@kotnet.org>
Wed, 25 May 2011 14:11:46 +0000 (16:11 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Wed, 25 May 2011 14:11:46 +0000 (16:11 +0200)
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_transitive_closure.c

index f977d60..e27d74f 100644 (file)
@@ -2856,7 +2856,7 @@ static __isl_give isl_union_map *union_floyd_warshall(
 {
        int i, n;
        isl_ctx *ctx;
-       isl_basic_map **list;
+       isl_basic_map **list = NULL;
        isl_basic_map **next;
        isl_union_map *res;