changeset 2228:0f2ac612f318

eliminate warning.
author Yoshiki Yazawa <yaz@cc.rim.or.jp>
date Fri, 14 Dec 2007 23:36:11 +0900
parents 573436f1a56e
children 33ffac81f4c7
files src/alsa/alsa.h src/alsa/audio.c
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/alsa/alsa.h	Fri Dec 14 23:03:38 2007 +0900
+++ b/src/alsa/alsa.h	Fri Dec 14 23:36:11 2007 +0900
@@ -21,6 +21,8 @@
 #ifndef ALSA_H
 #define ALSA_H
 
+#define NDEBUG
+
 #include "config.h"
 
 #include <audacious/util.h>
--- a/src/alsa/audio.c	Fri Dec 14 23:03:38 2007 +0900
+++ b/src/alsa/audio.c	Fri Dec 14 23:36:11 2007 +0900
@@ -294,6 +294,7 @@
 }
 
 /* reopen ALSA PCM */
+#if 0
 static int alsa_reopen(struct snd_format *f)
 {
 	/* remember the current position */
@@ -304,6 +305,7 @@
 
 	return alsa_setup(f);
 }
+#endif
 
 /* do flush (drop) operation */
 static void alsa_do_flush(int time)