[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
This commit is contained in:
Bill Wendling 2000-11-13 16:45:46 -05:00
parent fce9bef52d
commit f6a92e7560

View File

@ -40,9 +40,15 @@ static intn interface_initialize_g = 0;
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
size_t 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, H5Z_filter_deflate (unsigned UNUSED flags, size_t cd_nelmts,
const unsigned cd_values[], size_t UNUSED nbytes, const unsigned cd_values[], size_t UNUSED nbytes,
size_t * UNUSED buf_size, void ** UNUSED buf) size_t * UNUSED buf_size, void ** UNUSED buf)
#endif
{ {
size_t ret_value = 0; size_t ret_value = 0;
void *outbuf = NULL; void *outbuf = NULL;