-
-
Notifications
You must be signed in to change notification settings - Fork 244
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove H5E_clear_stack() from library #4871
Conversation
Use existing H5G_loc_exists() routine Signed-off-by: Quincey Koziol <[email protected]>
Signed-off-by: Quincey Koziol <[email protected]>
Signed-off-by: Quincey Koziol <[email protected]>
if (H5G_loc_find(&dst_root_loc, suggestion->path, &obj_loc /*out*/) < 0) | ||
/* Ignore errors - i.e. suggestions not present in | ||
* destination file */ | ||
H5E_clear_stack(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you haven't already, it's worth documenting that developers should avoid calling H5E_clear_stack()
in the library since I can easily see this cropping up again.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point, I'll add that in the next PR.
Use existing H5G_loc_exists() routine