X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/2993b7a4e92f65c6308a8a2997a32c4d5198ddd0..fda00496f6a31c2f09ed65b91d6052c2e50686df:/src/dict_unit.c diff --git a/src/dict_unit.c b/src/dict_unit.c index 55ac0e86d7..4fd6f8bc19 100644 --- a/src/dict_unit.c +++ b/src/dict_unit.c @@ -8,7 +8,7 @@ /* GENERATED FILE, DO NOT EDIT */ /*******************************/ -#line 810 "xbt/dict.c" +#line 816 "xbt/dict.c" #include "xbt.h" #include "xbt/ex.h" #include "portable.h" @@ -363,6 +363,7 @@ XBT_TEST_UNIT("nulldata", test_dict_nulldata, "NULL data management") } static void debuged_addi(xbt_dict_t head, uintptr_t key, uintptr_t data) { + uintptr_t stored_data = 0; xbt_test_log2("Add %zu under %zu", data, key); xbt_dicti_set(head, key, data); @@ -370,7 +371,7 @@ static void debuged_addi(xbt_dict_t head, uintptr_t key, uintptr_t data) { xbt_dict_dump(head, (void (*)(void *)) &printf); fflush(stdout); } - uintptr_t stored_data = xbt_dicti_get(head, key); + stored_data = xbt_dicti_get(head, key); xbt_test_assert3(stored_data==data, "Retrieved data (%zu) is not what I just stored (%zu) under key %zu",stored_data,data,key); }