h5priv_te_find() now return H5_NOK, if element not found

This commit is contained in:
2010-07-02 11:54:39 +00:00
parent 2f55e95381
commit c32853c3d4
+4
View File
@@ -134,6 +134,10 @@ h5tpriv_find_te (
&__entry,
&f->t->adjacencies.te_hash) );
h5t_te_entry_t* entry = (h5t_te_entry_t*)__entry;
if (entry ==NULL) {
// not found
return H5_NOK;
}
*retval = &entry->value;
return H5_SUCCESS;
}