From d5db5d6991bc17b69da1f4debc3006e765b28984 Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Fri, 8 Oct 1999 19:34:31 -0500 Subject: [svn-r1739] Cleaned up some warnings from the HP compiler. --- src/H5Fprivate.h | 1 - src/H5Odtype.c | 2 +- 2 files changed, 1 insertion(+), 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"); -- cgit v0.12