summaryrefslogtreecommitdiffstats
path: root/src/H5Vprivate.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2001-11-03 22:27:54 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2001-11-03 22:27:54 (GMT)
commit0001a136175eb59c3c2ff778c67e763bae73f473 (patch)
tree7ec60d039e634e43192f5e327b0c327b94e232d9 /src/H5Vprivate.h
parent3af26fa7a598221427d43fa8a1620cf18fbeb2dc (diff)
downloadhdf5-0001a136175eb59c3c2ff778c67e763bae73f473.zip
hdf5-0001a136175eb59c3c2ff778c67e763bae73f473.tar.gz
hdf5-0001a136175eb59c3c2ff778c67e763bae73f473.tar.bz2
[svn-r4589] Purpose:
Code cleanup Description: Clean up various compiler warnings from generic property updates. Platforms tested: FreeBSD 4.4 (hawkwind)
Diffstat (limited to 'src/H5Vprivate.h')
-rw-r--r--src/H5Vprivate.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Vprivate.h b/src/H5Vprivate.h
index 37143ff..063d92a 100644
--- a/src/H5Vprivate.h
+++ b/src/H5Vprivate.h
@@ -95,10 +95,10 @@ __DLL__ hsize_t H5V_array_offset(unsigned n, const hsize_t *total_size,
*
*-------------------------------------------------------------------------
*/
-static H5_inline hsize_t UNUSED
+static H5_inline hsize_t
H5V_vector_reduce_product(unsigned n, const hsize_t *v)
{
- size_t ans = 1;
+ hsize_t ans = 1;
if (n && !v) return 0;
while (n--) ans *= *v++;