summaryrefslogtreecommitdiffstats
path: root/test/dynlib3.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/dynlib3.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/dynlib3.c')
-rw-r--r--test/dynlib3.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/dynlib3.c b/test/dynlib3.c
index 9560b86..b3a02ed 100644
--- a/test/dynlib3.c
+++ b/test/dynlib3.c
@@ -71,6 +71,9 @@ H5Z_filter_dynlib3(unsigned int flags, size_t cd_nelmts,
if(cd_nelmts > 0)
return(0);
+ /* Assignment to eliminate unused parameter warning. */
+ cd_values = cd_values;
+
if(flags & H5Z_FLAG_REVERSE) { /*read*/
ret_value = *buf_size = nbytes - SUFFIX_LEN;
} /* end if */