gcc 4.6.3 says variable set but not used (nw)

This commit is contained in:
smf- 2012-12-05 19:15:56 +00:00
parent af41afc282
commit a10e11a2e8

View File

@ -624,7 +624,8 @@ static UPD7220_DRAW_TEXT_LINE( hgdc_draw_text )
pc9801_state *state = device->machine().driver_data<pc9801_state>(); pc9801_state *state = device->machine().driver_data<pc9801_state>();
int xi,yi; int xi,yi;
int x; int x;
UINT8 char_size,interlace_on; UINT8 char_size;
// UINT8 interlace_on;
UINT16 tile; UINT16 tile;
UINT8 pcg_sel, pcg_lr; UINT8 pcg_sel, pcg_lr;
UINT8 kanji_sel; UINT8 kanji_sel;
@ -632,7 +633,7 @@ static UPD7220_DRAW_TEXT_LINE( hgdc_draw_text )
if(state->m_video_ff[DISPLAY_REG] == 0) //screen is off if(state->m_video_ff[DISPLAY_REG] == 0) //screen is off
return; return;
interlace_on = state->m_video_ff[INTERLACE_REG]; // interlace_on = state->m_video_ff[INTERLACE_REG];
char_size = state->m_video_ff[FONTSEL_REG] ? 16 : 8; char_size = state->m_video_ff[FONTSEL_REG] ? 16 : 8;
tile = 0; tile = 0;