summaryrefslogtreecommitdiffstats
path: root/src/H5Pocpypl.c
diff options
context:
space:
mode:
authorRyan Schmidt <ryandesign@macports.org>2022-11-17 22:28:44 (GMT)
committerGitHub <noreply@github.com>2022-11-17 22:28:44 (GMT)
commit9dd36f016a4316b94f5df15856d228de01d304c6 (patch)
tree9899d3084d1c95c442517bf9a6180b079ce69cc7 /src/H5Pocpypl.c
parent169896aedb4bc870c8adac191407325b80840510 (diff)
downloadhdf5-9dd36f016a4316b94f5df15856d228de01d304c6.zip
hdf5-9dd36f016a4316b94f5df15856d228de01d304c6.tar.gz
hdf5-9dd36f016a4316b94f5df15856d228de01d304c6.tar.bz2
Simplify & fix check for szlib encoder (#2263)
Return the result rather than setting the exit code. "return" is a language keyword whereas "exit" is a function for which the <stdlib.h> header has to be included which it wasn't in this test, therefore the test would previously fail to identify that the encoder was enabled if "-Werror=implicit-function-declaration" was used, which it is by default with clang from Xcode 12 and later. Fixes #2262
Diffstat (limited to 'src/H5Pocpypl.c')
0 files changed, 0 insertions, 0 deletions