mirror of
https://github.com/holub/mame
synced 2025-05-22 05:38:52 +03:00
fixed some unread variable warning reported by cppcheck (no whatsnew)
This commit is contained in:
parent
9fe7b3bbcc
commit
b938c3e690
@ -388,7 +388,7 @@ static void InitDasm32025(void)
|
||||
CPU_DISASSEMBLE( tms32025 )
|
||||
{
|
||||
UINT32 flags = 0;
|
||||
int a, b, c, d, k, m, n, p, r, s, t, w, x; /* these can all be filled in by parsing an instruction */
|
||||
int a, b, c, d, k, m, n, p, r, s, t, w; /* these can all be filled in by parsing an instruction */
|
||||
int i;
|
||||
int op;
|
||||
int cnt = 1;
|
||||
@ -433,7 +433,7 @@ CPU_DISASSEMBLE( tms32025 )
|
||||
|
||||
/* shift out operands */
|
||||
cp = Op[op].parse;
|
||||
a = b = c = d = k = m = n = p = r = s = t = w = x = 0;
|
||||
a = b = c = d = k = m = n = p = r = s = t = w = 0;
|
||||
|
||||
while (bit >= 0)
|
||||
{
|
||||
|
@ -1221,13 +1221,13 @@ static void write_register(YMF271Chip *chip, int slotnum, int reg, int data)
|
||||
static void ymf271_write_fm(YMF271Chip *chip, int grp, int adr, int data)
|
||||
{
|
||||
int reg;
|
||||
int slotnum;
|
||||
//int slotnum;
|
||||
int slot_group;
|
||||
int sync_mode, sync_reg;
|
||||
//YMF271Slot *slot;
|
||||
|
||||
slotnum = 12*grp;
|
||||
slotnum += fm_tab[adr & 0xf];
|
||||
//slotnum = 12*grp;
|
||||
//slotnum += fm_tab[adr & 0xf];
|
||||
//slot = &chip->slots[slotnum];
|
||||
slot_group = fm_tab[adr & 0xf];
|
||||
|
||||
|
@ -75,7 +75,9 @@ WRITE8_DEVICE_HANDLER( turbo_sound_a_w )
|
||||
samples_device *samples = device->machine().device<samples_device>("samples");
|
||||
#endif
|
||||
turbo_state *state = device->machine().driver_data<turbo_state>();
|
||||
#if (!DISCRETE_TEST)
|
||||
UINT8 diff = data ^ state->m_sound_state[0];
|
||||
#endif
|
||||
state->m_sound_state[0] = data;
|
||||
|
||||
#if (!DISCRETE_TEST)
|
||||
|
@ -1288,7 +1288,7 @@ static void render_poly_texture(void *dest, INT32 scanline, const poly_extent *e
|
||||
INT32 curz = extent->param[0].start;
|
||||
INT32 curu = extent->param[1].start;
|
||||
INT32 curv = extent->param[2].start;
|
||||
INT32 curi = extent->param[3].start;
|
||||
//INT32 curi = extent->param[3].start;
|
||||
INT32 dzdx = extent->param[0].dpdx;
|
||||
INT32 dudx = extent->param[1].dpdx;
|
||||
INT32 dvdx = extent->param[2].dpdx;
|
||||
@ -1334,7 +1334,7 @@ static void render_poly_texture(void *dest, INT32 scanline, const poly_extent *e
|
||||
curz += dzdx;
|
||||
curu += dudx;
|
||||
curv += dvdx;
|
||||
curi += didx;
|
||||
//curi += didx;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user