isl_space.c: avoid use of "0" as pointer value
authorSven Verdoolaege <skimo@kotnet.org>
Thu, 29 Mar 2012 14:01:33 +0000 (16:01 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Sun, 6 May 2012 12:33:05 +0000 (14:33 +0200)
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_space.c

index 6a6b5f5..c17c96b 100644 (file)
@@ -1651,7 +1651,7 @@ __isl_give isl_space *isl_space_zip(__isl_take isl_space *dim)
                        goto error);
 
        if (!dim)
-               return 0;
+               return NULL;
        dom = isl_space_unwrap(isl_space_domain(isl_space_copy(dim)));
        ran = isl_space_unwrap(isl_space_range(dim));
        dom_dom = isl_space_domain(isl_space_copy(dom));