summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>1999-10-09 00:34:31 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>1999-10-09 00:34:31 (GMT)
commitd5db5d6991bc17b69da1f4debc3006e765b28984 (patch)
tree6da3871186cd2c6c23a3e9ab9027eb7c5c38fe09
parentacc0841fe5c2623545cf061fbc77cb98ca2fd799 (diff)
downloadhdf5-d5db5d6991bc17b69da1f4debc3006e765b28984.zip
hdf5-d5db5d6991bc17b69da1f4debc3006e765b28984.tar.gz
hdf5-d5db5d6991bc17b69da1f4debc3006e765b28984.tar.bz2
[svn-r1739] Cleaned up some warnings from the HP compiler.
-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");