This commit is contained in:
2011-01-04 08:32:14 +00:00
parent 12a2c7ef27
commit 27c19efe59
2 changed files with 4 additions and 3 deletions
+2 -2
View File
@@ -213,7 +213,7 @@ h5priv_hsearch (
if (htab->table[idx].used == hval
&& ((*htab->compare) (
item, htab->table[idx].entry) == 0) ) {
if (retval && *retval) {
if (retval) {
*retval = htab->table[idx].entry;
}
return H5_SUCCESS;
@@ -238,7 +238,7 @@ h5priv_hsearch (
++htab->filled;
if (retval && *retval) {
if (retval) {
*retval = htab->table[idx].entry;
}
return H5_SUCCESS;
+2 -1
View File
@@ -208,6 +208,7 @@ h5t_init_leaf_iterator (
} else if (it->codim == 0) {
it->iter = iterate_leaf_elems;
}
TRY2( h5tpriv_init_entity_iterator (f, iter, codim) );
H5_CORE_API_RETURN (h5err);
}
@@ -219,7 +220,7 @@ h5t_init_boundary_face_iterator (
) {
H5_CORE_API_ENTER;
h5_err_t h5err = H5_SUCCESS;
h5t_leaf_iterator_t* it;
h5t_leaf_iterator_t* it = (h5t_leaf_iterator_t*)iter;
it->face_idx = 999; // something > max number of faces
it->elem_idx = -1;
it->codim = codim;