Commit 0277c5c0 authored by David Reid's avatar David Reid

Fix a couple of warnings.

parent a82bb0a4
/* /*
Audio playback and capture library. Choice of public domain or MIT-0. See license statements at the end of this file. Audio playback and capture library. Choice of public domain or MIT-0. See license statements at the end of this file.
miniaudio (formerly mini_al) - v0.9.4 - 2019-05-06 miniaudio (formerly mini_al) - v0.9.5 - 2019-xx-xx
David Reid - davidreidsoftware@gmail.com David Reid - davidreidsoftware@gmail.com
*/ */
...@@ -4587,6 +4587,7 @@ ma_handle ma_dlopen(ma_context* pContext, const char* filename) ...@@ -4587,6 +4587,7 @@ ma_handle ma_dlopen(ma_context* pContext, const char* filename)
} }
#endif #endif
(void)pContext; /* It's possible for pContext to be unused. */
return handle; return handle;
} }
...@@ -4634,6 +4635,7 @@ ma_proc ma_dlsym(ma_context* pContext, ma_handle handle, const char* symbol) ...@@ -4634,6 +4635,7 @@ ma_proc ma_dlsym(ma_context* pContext, ma_handle handle, const char* symbol)
} }
#endif #endif
(void)pContext; /* It's possible for pContext to be unused. */
return proc; return proc;
} }
...@@ -32949,6 +32951,9 @@ Device ...@@ -32949,6 +32951,9 @@ Device
/* /*
REVISION HISTORY REVISION HISTORY
================ ================
v0.9.5 - 2019-xx-xx
- Add logging to ma_dlopen() and ma_dlsym().
v0.9.4 - 2019-05-06 v0.9.4 - 2019-05-06
- Add support for C89. With this change, miniaudio should compile clean with GCC/Clang with "-std=c89 -ansi -pedantic" and - Add support for C89. With this change, miniaudio should compile clean with GCC/Clang with "-std=c89 -ansi -pedantic" and
Microsoft copmilers back to VC6. Other compilers should also work, but have not been tested. Microsoft copmilers back to VC6. Other compilers should also work, but have not been tested.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment