diff --git a/src/hostapi/oss/pa_unix_oss.c b/src/hostapi/oss/pa_unix_oss.c index 9da42d0..74068d8 100644 --- a/src/hostapi/oss/pa_unix_oss.c +++ b/src/hostapi/oss/pa_unix_oss.c @@ -1507,7 +1507,6 @@ static PaError PaOssStream_Stop( PaOssStream *stream, int abort ) result = paUnanticipatedHostError; } -error: return result; } @@ -1979,7 +1978,10 @@ static signed long GetStreamWriteAvailable( PaStream* s ) #endif return (PaOssStreamComponent_BufferSize( stream->playback ) - delay) / PaOssStreamComponent_FrameSize( stream->playback ); +/* Conditionally compile this to avoid warning about unused label */ +#ifdef SNDCTL_DSP_GETODELAY error: return result; +#endif }