]> git.tue.mpg.de Git - paraslash.git/commit
Build 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>
Wed, 8 Jan 2025 17:39:00 +0000 (18:39 +0100)
commit92e0e33e78cdb349fc3b5bfff61d952f8e6659e3
treebb8732337afff6161f92a9314f3810357ba71735
parent70a7dde132b159ef3004c73c37bc352f4e42626c
Build 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 Linux.
Makefile.real
oggdec_filter.c