]> git.tuebingen.mpg.de Git - paraslash.git/commit
build: Compile with -Wunused -Wall also on BSD.
authorAndre Noll <maan@tuebingen.mpg.de>
Wed, 1 Jan 2025 15:36:23 +0000 (16:36 +0100)
committerAndre Noll <maan@tuebingen.mpg.de>
Tue, 25 Mar 2025 00:51:36 +0000 (01:51 +0100)
commit506cebfcd213c46d30c9642b9c4e49675aa52bee
tree7871b62eed2904e1bd762d2c71d3bc3247a7e771
parent09ca227ad87eaa2a549cd438fc7d8a6ab4d35973
build: Compile with -Wunused -Wall also on BSD.

The new #define in oggdec_filter.c gets rid of the warnings such as

'OV_CALLBACKS_STREAMONLY_NOCLOSE' defined but not used [-Wunused-variable]

on NetBSD. With the patch applied, the code still compiles without
warnings. Tested on Linux, FreeBSD and NetBSD.
Makefile.real
oggdec_filter.c