summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorratchov <ratchov@openbsd.org>2012-04-19 06:58:29 +0000
committerratchov <ratchov@openbsd.org>2012-04-19 06:58:29 +0000
commitbe9a78f2f83855aba6fd9024a71b5e9ba37db8b0 (patch)
tree37b47960eb855b6e8ef25a927c60d26c25020a10
parentadd newline to signal error messages; Thomas Pfaff (diff)
downloadwireguard-openbsd-be9a78f2f83855aba6fd9024a71b5e9ba37db8b0.tar.xz
wireguard-openbsd-be9a78f2f83855aba6fd9024a71b5e9ba37db8b0.zip
unbreak compilation without DEBUG defined
-rw-r--r--usr.bin/aucat/wav.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/aucat/wav.c b/usr.bin/aucat/wav.c
index 13a80916560..97044f6f44e 100644
--- a/usr.bin/aucat/wav.c
+++ b/usr.bin/aucat/wav.c
@@ -456,9 +456,11 @@ wav_reset(struct wav *f)
case WAV_INIT:
/* nothing yet */
break;
+#ifdef DEBUG
case WAV_MIDI:
dbg_puts("wav_reset: in midi mode\n");
dbg_panic();
+#endif
}
}