Fix some warnings with examples.

This commit is contained in:
David Reid
2025-02-17 16:01:19 +10:00
parent 47aa3e34e0
commit de5f370d09
5 changed files with 8 additions and 4 deletions
+3 -1
View File
@@ -49,6 +49,8 @@ ma_decoder* g_pDecoders;
static ma_data_source* next_callback_tail(ma_data_source* pDataSource)
{
(void)pDataSource; /* Unused. */
if (g_decoderCount > 0) { /* <-- We check for this in main() so should never happen. */
return NULL;
}
@@ -158,4 +160,4 @@ done_decoders:
free(g_pDecoders);
return 0;
}
}