diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2010-04-22 19:56:03 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2010-04-22 19:56:03 (GMT) |
commit | edf124f40bc52044ba7f020225029d05190ffd39 (patch) | |
tree | 81bf09fb5119841275312c0d19523e6eef517f8c /src/H5Dlayout.c | |
parent | 249acc03550e9cb2ed3cfaa56737215910a7a194 (diff) | |
download | hdf5-edf124f40bc52044ba7f020225029d05190ffd39.zip hdf5-edf124f40bc52044ba7f020225029d05190ffd39.tar.gz hdf5-edf124f40bc52044ba7f020225029d05190ffd39.tar.bz2 |
[svn-r18616] Description:
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 */ |