if (!*cursor) {
XBT_DEBUG("Create the cursor on first use");
*cursor = xbt_new(s_xbt_set_cursor_t, 1);
- xbt_assert0(*cursor,
+ xbt_assert(*cursor,
"Malloc error during the creation of the cursor");
}
(*cursor)->set = set;
xbt_set_get_by_name(set, data);
THROWF(unknown_error, 0,
"Found something which shouldn't be there (%s)", data);
- } CATCH(e) {
+ }
+ CATCH(e) {
if (e.category != not_found_error)
xbt_test_exception(e);
xbt_ex_free(e);