Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15-SP4
hdf5.28370
Remove-duplicate-code.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File Remove-duplicate-code.patch of Package hdf5.28370
From: Egbert Eich <eich@suse.com> Date: Sat Feb 11 18:08:15 2023 +0100 Subject: Remove duplicate code Patch-mainline: Not yet Git-repo: https://github.com/HDFGroup/hdf5 Git-commit: 539bca81e2b5713b1c6c5723d742377fb92c1ac1 References: Signed-off-by: Egbert Eich <eich@suse.com> Signed-off-by: Egbert Eich <eich@suse.de> --- src/H5Oattr.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/H5Oattr.c b/src/H5Oattr.c index 3ef0b99aa4..19d3abfb4c 100644 --- a/src/H5Oattr.c +++ b/src/H5Oattr.c @@ -222,10 +222,6 @@ H5O_attr_decode(H5F_t *f, H5O_t *open_oh, unsigned H5_ATTR_UNUSED mesg_flags, un else p += attr->shared->ds_size; - /* Get the datatype's size */ - if (0 == (dt_size = H5T_get_size(attr->shared->dt))) - HGOTO_ERROR(H5E_ATTR, H5E_CANTGET, NULL, "unable to get datatype size") - /* Get the datatype & dataspace sizes */ if (0 == (dt_size = H5T_get_size(attr->shared->dt))) HGOTO_ERROR(H5E_ATTR, H5E_CANTGET, NULL, "unable to get datatype size")
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor