diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2010-04-22 20:04:44 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2010-04-22 20:04:44 (GMT) |
commit | 683d60460a94869225094b4efc824258c5b0dcd3 (patch) | |
tree | 92f6400d0c7f80046231ad46048227cdf4940a34 /src/H5Dlayout.c | |
parent | cacfe71beb159fc44df256f641d4faac594c802e (diff) | |
download | hdf5-683d60460a94869225094b4efc824258c5b0dcd3.zip hdf5-683d60460a94869225094b4efc824258c5b0dcd3.tar.gz hdf5-683d60460a94869225094b4efc824258c5b0dcd3.tar.bz2 |
[svn-r18617] Description:
Bring r18616 from trunk to 1.8 branch:
Clean up compiler warnings.
Tested on:
Mac OS X/32 10.6.3 (amazon) w/debug
(too minor to require h5committest)
Diffstat (limited to 'src/H5Dlayout.c')
-rw-r--r-- | src/H5Dlayout.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/H5Dlayout.c b/src/H5Dlayout.c index b6382df..0245bec 100644 --- a/src/H5Dlayout.c +++ b/src/H5Dlayout.c @@ -104,6 +104,8 @@ H5D_layout_set_io_ops(const H5D_t *dataset) dataset->shared->layout.ops = H5D_LOPS_COMPACT; break; + case H5D_LAYOUT_ERROR: + case H5D_NLAYOUTS: default: HGOTO_ERROR(H5E_DATASET, H5E_UNSUPPORTED, FAIL, "unknown storage method") } /* end switch */ /*lint !e788 All appropriate cases are covered */ @@ -167,6 +169,8 @@ H5D_layout_meta_size(const H5F_t *f, const H5O_layout_t *layout, hbool_t include ret_value += H5F_SIZEOF_ADDR(f); /* Address of data */ break; + case H5D_LAYOUT_ERROR: + case H5D_NLAYOUTS: default: HGOTO_ERROR(H5E_OHDR, H5E_CANTENCODE, 0, "Invalid layout class") } /* end switch */ @@ -423,6 +427,8 @@ H5D_layout_oh_read(H5D_t *dataset, hid_t dxpl_id, hid_t dapl_id, H5P_genplist_t case H5D_COMPACT: break; + case H5D_LAYOUT_ERROR: + case H5D_NLAYOUTS: default: HGOTO_ERROR(H5E_DATASET, H5E_UNSUPPORTED, FAIL, "unknown storage method") } /* end switch */ /*lint !e788 All appropriate cases are covered */ |