mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-04-12 17:31:09 +08:00
[svn-r1739] Cleaned up some warnings from the HP compiler.
This commit is contained in:
parent
acc0841fe5
commit
d5db5d6991
@ -405,7 +405,6 @@ typedef struct H5F_t {
|
||||
struct H5O_layout_t;
|
||||
struct H5O_efl_t;
|
||||
struct H5O_pline_t;
|
||||
struct H5F_xfer_t;
|
||||
struct H5O_fill_t;
|
||||
struct H5G_entry_t;
|
||||
|
||||
|
@ -301,7 +301,7 @@ H5O_dtype_decode_helper(H5F_t *f, const uint8_t **pp, H5T_t *dt)
|
||||
|
||||
/* Decode base type of VL information */
|
||||
if (NULL==(dt->parent = H5MM_calloc(sizeof(H5T_t))))
|
||||
HRETURN_ERROR (H5E_DATATYPE, H5E_NOSPACE, NULL, "memory allocation failed");
|
||||
HRETURN_ERROR (H5E_DATATYPE, H5E_NOSPACE, FAIL, "memory allocation failed");
|
||||
dt->parent->ent.header = HADDR_UNDEF;
|
||||
if (H5O_dtype_decode_helper(f, pp, dt->parent)<0)
|
||||
HRETURN_ERROR(H5E_DATATYPE, H5E_CANTDECODE, FAIL, "unable to decode VL parent type");
|
||||
|
Loading…
x
Reference in New Issue
Block a user