aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2015-10-13 11:38:53 -0700
committerChris Robinson <[email protected]>2015-10-13 11:38:53 -0700
commitd7ec9d355f25c4072954f7447c3e5d0f100ef8d6 (patch)
treec3819ccbec45cfc0d1bec45bbfa9e9d1727b535b
parent0498a4d35edf04e6a3c9afea4c42b9a9b0a802ea (diff)
Shut GCC up
-rw-r--r--OpenAL32/alSource.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenAL32/alSource.c b/OpenAL32/alSource.c
index 74323185..38b287b4 100644
--- a/OpenAL32/alSource.c
+++ b/OpenAL32/alSource.c
@@ -2906,7 +2906,7 @@ ALboolean ApplyOffset(ALsource *Source)
ALbufferlistitem *BufferList;
const ALbuffer *Buffer;
ALuint bufferLen, totalBufferLen;
- ALuint offset, frac;
+ ALuint offset=0, frac=0;
/* Get sample frame offset */
if(!GetSampleOffset(Source, &offset, &frac))