diff options
author | Chris Robinson <[email protected]> | 2011-08-08 13:34:42 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2011-08-08 13:34:42 -0700 |
commit | cda4c738e8f08824ab79d273a846b2d455b8e48f (patch) | |
tree | eab304143ba7543543bcf62c4206cabe491e8729 | |
parent | f7c176e8ca64c33535db54a284aa1aef4c31a6a8 (diff) |
Don't declare i in a for() statement
-rw-r--r-- | Alc/coreaudio.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Alc/coreaudio.c b/Alc/coreaudio.c index 979dfbb7..5a94f7d3 100644 --- a/Alc/coreaudio.c +++ b/Alc/coreaudio.c @@ -55,7 +55,8 @@ static void destroy_buffer_list(AudioBufferList* list) { if(list) { - for(UInt32 i = 0;i < list->mNumberBuffers;i++) + UInt32 i; + for(i = 0;i < list->mNumberBuffers;i++) free(list->mBuffers[i].mData); free(list); } |