mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-23 11:43:24 +00:00
hxcmod-player: fix unused warnings
This commit is contained in:
parent
036e10079a
commit
4aa7d471d3
12
3rd-party/hxcmod-player/hxcmod.c
vendored
12
3rd-party/hxcmod-player/hxcmod.c
vendored
@ -431,6 +431,10 @@ static void memclear( void * dest, unsigned char value, unsigned long size )
|
|||||||
|
|
||||||
static int getnote( modcontext * mod, unsigned short period )
|
static int getnote( modcontext * mod, unsigned short period )
|
||||||
{
|
{
|
||||||
|
// BK4BSTACK_CHANGE START
|
||||||
|
(void) mod;
|
||||||
|
// BK4BSTACK_CHANGE END
|
||||||
|
|
||||||
int i;
|
int i;
|
||||||
const short * ptr;
|
const short * ptr;
|
||||||
|
|
||||||
@ -474,6 +478,10 @@ static void doFunk(channel * cptr)
|
|||||||
|
|
||||||
static void worknote( note * nptr, channel * cptr,char t,modcontext * mod )
|
static void worknote( note * nptr, channel * cptr,char t,modcontext * mod )
|
||||||
{
|
{
|
||||||
|
// BK4BSTACK_CHANGE START
|
||||||
|
(void) t;
|
||||||
|
// BK4BSTACK_CHANGE END
|
||||||
|
|
||||||
muint sample, period, effect, operiod;
|
muint sample, period, effect, operiod;
|
||||||
muint curnote, arpnote;
|
muint curnote, arpnote;
|
||||||
muchar effect_op;
|
muchar effect_op;
|
||||||
@ -1141,6 +1149,10 @@ static void worknote( note * nptr, channel * cptr,char t,modcontext * mod )
|
|||||||
|
|
||||||
static void workeffect( modcontext * modctx, note * nptr, channel * cptr )
|
static void workeffect( modcontext * modctx, note * nptr, channel * cptr )
|
||||||
{
|
{
|
||||||
|
// BK4BSTACK_CHANGE START
|
||||||
|
(void) nptr;
|
||||||
|
// BK4BSTACK_CHANGE END
|
||||||
|
|
||||||
doFunk(cptr);
|
doFunk(cptr);
|
||||||
|
|
||||||
switch(cptr->effect)
|
switch(cptr->effect)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user