summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/H5Fprivate.h1
-rw-r--r--src/H5Odtype.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/src/H5Fprivate.h b/src/H5Fprivate.h
index 7ee6085..3509a1e 100644
--- a/src/H5Fprivate.h
+++ b/src/H5Fprivate.h
@@ -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;
diff --git a/src/H5Odtype.c b/src/H5Odtype.c
index 420d70a..039d6c2 100644
--- a/src/H5Odtype.c
+++ b/src/H5Odtype.c
@@ -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");