mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-18 15:15:56 +08:00
[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:
parent
fce9bef52d
commit
f6a92e7560
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user