summaryrefslogtreecommitdiffstats
path: root/test/filter_fail.c
diff options
context:
space:
mode:
authorLarry Knox <lrknox@hdfgroup.org>2013-08-09 20:42:27 (GMT)
committerLarry Knox <lrknox@hdfgroup.org>2013-08-09 20:42:27 (GMT)
commit5dcd9c2dfcfe50cb8aea4e5ff4399aeb17d91296 (patch)
treeabd7567a4bf420369e8c5988a33e174aee8cb0af /test/filter_fail.c
parentb5ad01c7e18ef29ef05543cd8d40e98efbbecc83 (diff)
downloadhdf5-5dcd9c2dfcfe50cb8aea4e5ff4399aeb17d91296.zip
hdf5-5dcd9c2dfcfe50cb8aea4e5ff4399aeb17d91296.tar.gz
hdf5-5dcd9c2dfcfe50cb8aea4e5ff4399aeb17d91296.tar.bz2
[svn-r23984] Merged 2 23932 from reduced_warnings branch:
Changes applied to eliminate several compiler warnings in the test directory in files: dt_arith.c filter_fail.c big.c dynlib2.c dynlib3.c Also an HDassert(0 && "Unknown type"); statement was added to all 29 combination s of case OTHER: default: See crucible review HDF5-145 for more details. Tested with h5committest.
Diffstat (limited to 'test/filter_fail.c')
-rw-r--r--test/filter_fail.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/filter_fail.c b/test/filter_fail.c
index c48be14..3dbb564 100644
--- a/test/filter_fail.c
+++ b/test/filter_fail.c
@@ -65,8 +65,8 @@ const H5Z_class2_t H5Z_FAIL_TEST[1] = {{
*-------------------------------------------------------------------------
*/
static size_t
-filter_fail(unsigned int flags, size_t cd_nelmts,
- const unsigned int *cd_values, size_t nbytes,
+filter_fail(unsigned int flags, size_t UNUSED cd_nelmts,
+ const unsigned int UNUSED *cd_values, size_t nbytes,
size_t *buf_size, void **buf)
{
int *dst = (int*)(*buf);