Skip to content

Commit

Permalink
Remove duplicate code
Browse files Browse the repository at this point in the history
Signed-off-by: Egbert Eich <eich@suse.com>
  • Loading branch information
e4t committed Feb 11, 2023
1 parent 9d596b4 commit e8ecd84
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/H5Oattr.c
Original file line number Diff line number Diff line change
Expand Up @@ -221,10 +221,6 @@ H5O__attr_decode(H5F_t *f, H5O_t *open_oh, unsigned H5_ATTR_UNUSED mesg_flags, u
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")
Expand Down

0 comments on commit e8ecd84

Please sign in to comment.