From a10e11a2e8ef7cda0cf85f6bfe086b573dd0bd7d Mon Sep 17 00:00:00 2001 From: smf- Date: Wed, 5 Dec 2012 19:15:56 +0000 Subject: [PATCH] gcc 4.6.3 says variable set but not used (nw) --- src/mess/drivers/pc9801.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/mess/drivers/pc9801.c b/src/mess/drivers/pc9801.c index 975651a026a..189c1bf0531 100644 --- a/src/mess/drivers/pc9801.c +++ b/src/mess/drivers/pc9801.c @@ -624,7 +624,8 @@ static UPD7220_DRAW_TEXT_LINE( hgdc_draw_text ) pc9801_state *state = device->machine().driver_data(); int xi,yi; int x; - UINT8 char_size,interlace_on; + UINT8 char_size; +// UINT8 interlace_on; UINT16 tile; UINT8 pcg_sel, pcg_lr; 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 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; tile = 0;