isl_basic_set_get_hash: initialize hash value
authorSven Verdoolaege <skimo@purples.(none)>
Sun, 6 Sep 2009 11:43:09 +0000 (13:43 +0200)
committerSven Verdoolaege <skimo@purples.(none)>
Sun, 6 Sep 2009 15:57:16 +0000 (17:57 +0200)
isl_map.c

index a497b5c..6f23d61 100644 (file)
--- a/isl_map.c
+++ b/isl_map.c
@@ -5106,7 +5106,7 @@ struct isl_set *isl_set_product(struct isl_set *set1, struct isl_set *set2)
 uint32_t isl_basic_set_get_hash(struct isl_basic_set *bset)
 {
        int i;
-       uint32_t hash;
+       uint32_t hash = isl_hash_init();
        unsigned total;
 
        if (!bset)