changeset 32188:bba9058031a0

Slightly restructure OSS audio check; fixes the warning: tmp.c:2: warning: unused variable 'arg'
author diego
date Thu, 16 Sep 2010 14:57:04 +0000
parents 15f9f2bb7bb7
children 30688ebc4f11
files configure
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Thu Sep 16 14:52:27 2010 +0000
+++ b/configure	Thu Sep 16 14:57:04 2010 +0000
@@ -5484,7 +5484,7 @@
 if test "$_ossaudio" = auto ; then
   cat > $TMPC << EOF
 #include <$_soundcard_header>
-int main(void) { int arg = SNDCTL_DSP_SETFRAGMENT; return 0; }
+int main(void) { return SNDCTL_DSP_SETFRAGMENT; }
 EOF
   _ossaudio=no
   cc_check && _ossaudio=yes