1
0
Fork 0
forked from len0rd/rockbox

misc: Fix up a few warnings uncovered by LTO

* direct use of memcpy() instead of ci->memcpy() in flac and mod
 * uninitialized variable in mpegplayer

Change-Id: I2d08682d5f66c319780e69e3ff63d600c61d8f5a
This commit is contained in:
Solomon Peachy 2021-07-08 21:08:16 -04:00
parent 4c60bc9e68
commit 144d1b1e81
4 changed files with 15 additions and 18 deletions

View file

@ -424,7 +424,7 @@ void initmodplayer(void)
/* Set Default Panning */
mixer_setpanning(c, panningvalues[c]);
/* Reset channels in the MOD Player */
memset(&modplayer.modchannel[c], 0, sizeof(struct s_modchannel));
ci->memset(&modplayer.modchannel[c], 0, sizeof(struct s_modchannel));
/* Don't play anything */
mixer.channel[c].channelactive = false;
}