From 8c81b4fdae025af68e8fd5156a655ba911c29596 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Mon, 12 Jul 2010 00:35:24 -0700 Subject: [PATCH] Fixed compile warnings --- src/audio/SDL_audio.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/audio/SDL_audio.c b/src/audio/SDL_audio.c index e3b02cf94..d115de7ee 100644 --- a/src/audio/SDL_audio.c +++ b/src/audio/SDL_audio.c @@ -287,6 +287,7 @@ SDL_StreamLength(SDL_AudioStreamer * stream) } /* Initialize the stream by allocating the buffer and setting the read/write heads to the beginning */ +#if 0 static int SDL_StreamInit(SDL_AudioStreamer * stream, int max_len, Uint8 silence) { @@ -305,6 +306,7 @@ SDL_StreamInit(SDL_AudioStreamer * stream, int max_len, Uint8 silence) return 0; } +#endif /* Deinitialize the stream simply by freeing the buffer */ static void