summaryrefslogtreecommitdiffstats
path: root/test/dynlib2.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/dynlib2.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/dynlib2.c')
-rw-r--r--test/dynlib2.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/dynlib2.c b/test/dynlib2.c
index a853ed0..0d8be2b 100644
--- a/test/dynlib2.c
+++ b/test/dynlib2.c
@@ -71,6 +71,9 @@ H5Z_filter_dynlib2(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*/
/* Divide the original value with MULTIPLIER */
while(buf_left > 0) {