# HG changeset patch # User Eric Wing # Date 1302229147 25200 # Node ID b65ad8b6ccf3a5a9c41b1404efcd79585edf94e7 # Parent 76a881923cfcbb6e7a1d7ec6ebc4505b631dc1ba Moved two variable declarations to the top to make old C89/90 compilers happy. diff -r 76a881923cfc -r b65ad8b6ccf3 ALmixer.c --- a/ALmixer.c Wed Apr 06 14:54:09 2011 -0700 +++ b/ALmixer.c Thu Apr 07 19:19:07 2011 -0700 @@ -7721,12 +7721,12 @@ ALint ALmixer_AllocateChannels(ALint numchans) { + ALint retval; if(AL_FALSE == ALmixer_Initialized) { return -1; } - ALint retval; #ifdef ENABLE_ALMIXER_THREADS SDL_LockMutex(s_simpleLock); #endif @@ -7740,12 +7740,12 @@ ALint ALmixer_ReserveChannels(ALint num) { + ALint retval; if(AL_FALSE == ALmixer_Initialized) { return -1; } - ALint retval; #ifdef ENABLE_ALMIXER_THREADS SDL_LockMutex(s_simpleLock); #endif