Another clang/unused item
Latest master returns this when compiling with clang:
/Library/Developer/CommandLineTools/usr/bin/make all-recursive
Making all in src
/Library/Developer/CommandLineTools/usr/bin/make all-am
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/homebrew/Cellar/hdf5/1.12.1/include -I/opt/homebrew/opt/szip/include -O3 -fomit-frame-pointer -fstrict-aliasing -ffast-math -funroll-loops -pthread -Wall -Wextra -Wno-unused-parameter -Wshadow -Werror -Wstrict-prototypes -MT libswiftsim_la-cosmology.lo -MD -MP -MF .deps/libswiftsim_la-cosmology.Tpo -c -o libswiftsim_la-cosmology.lo `test -f 'cosmology.c' || echo './'`cosmology.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/opt/homebrew/Cellar/hdf5/1.12.1/include -I/opt/homebrew/opt/szip/include -O3 -fomit-frame-pointer -fstrict-aliasing -ffast-math -funroll-loops -pthread -Wall -Wextra -Wno-unused-parameter -Wshadow -Werror -Wstrict-prototypes -MT libswiftsim_la-cosmology.lo -MD -MP -MF .deps/libswiftsim_la-cosmology.Tpo -c cosmology.c -o libswiftsim_la-cosmology.o
cosmology.c:98:13: error: unused function 'invert_table' [-Werror,-Wunused-function]
static void invert_table(const double *y_table, const double log_a_begin,
^
1 error generated.
make[3]: *** [libswiftsim_la-cosmology.lo] Error 1
Configure line: ./configure --with-hydro=gasoline --with-kernel=wendland-C2 --disable-mpi --disable-hand-vec --enable-compiler-warnings