From f6a92e75600be0b77306893034a8d3982f91ff20 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Mon, 13 Nov 2000 16:45:46 -0500 Subject: [svn-r2890] Purpose: Redo of a patch Description: As Quincey pointed out, the parameters are only ``UNUSED'' if we can't find libz.a. Solution: I changed it to conditionally put the UNUSED in there... Platforms tested: Linux --- src/H5Zdeflate.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/H5Zdeflate.c b/src/H5Zdeflate.c index e2a5359..16ed966 100644 --- a/src/H5Zdeflate.c +++ b/src/H5Zdeflate.c @@ -40,9 +40,15 @@ static intn interface_initialize_g = 0; *------------------------------------------------------------------------- */ size_t +#if defined(H5_HAVE_COMPRESS2) +H5Z_filter_deflate (unsigned flags, size_t cd_nelmts, + const unsigned cd_values[], size_t nbytes, + size_t *buf_size, void **buf) +#else H5Z_filter_deflate (unsigned UNUSED flags, size_t cd_nelmts, const unsigned cd_values[], size_t UNUSED nbytes, size_t * UNUSED buf_size, void ** UNUSED buf) +#endif { size_t ret_value = 0; void *outbuf = NULL; -- cgit v0.12