# HG changeset patch # User diego # Date 1284649024 0 # Node ID bba9058031a02d7623af227690fab28e6dbef1fc # Parent 15f9f2bb7bb79f42d9c57c5771cfe60c414319b1 Slightly restructure OSS audio check; fixes the warning: tmp.c:2: warning: unused variable 'arg' diff -r 15f9f2bb7bb7 -r bba9058031a0 configure --- 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