Skip to content

Commit

Permalink
Switch assert for real error handling
Browse files Browse the repository at this point in the history
  • Loading branch information
derobins committed Mar 9, 2024
1 parent 74c7417 commit c035e3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/H5B.c
Original file line number Diff line number Diff line change
Expand Up @@ -916,7 +916,7 @@ H5B__insert_helper(H5F_t *f, H5B_ins_ud_t *bt_ud, const H5B_class_t *type, uint8
}
else if (cmp) {
/* We couldn't figure out which branch to follow out of this node */
assert("INTERNAL HDF5 ERROR" && 0);
HGOTO_ERROR(H5E_BTREE, H5E_CANTINSERT, H5B_INS_ERROR, "internal error: likely corrupt key values");
}
else if (bt->level > 0) {
/*
Expand Down

0 comments on commit c035e3e

Please sign in to comment.