From 4ca834b9859600880b4fd2c06e640758f0eba988 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thore=20B=C3=B6ckelmann?= Date: Tue, 9 Oct 2018 21:35:57 +0200 Subject: [PATCH] * mcc/PrintLineWithStyles.c: fixed warning about unused variable. --- mcc/PrintLineWithStyles.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mcc/PrintLineWithStyles.c b/mcc/PrintLineWithStyles.c index 0c7fe10..e8bac9b 100644 --- a/mcc/PrintLineWithStyles.c +++ b/mcc/PrintLineWithStyles.c @@ -468,7 +468,9 @@ LONG PrintLine(struct InstData *data, LONG x, struct line_node *line, LONG line_ { LONG p_length = c_length; struct TextExtentNew te; + #if defined(__amigaos3__) BOOL alpha = FALSE; + #endif SetSoftStyle(rp, ConvertStyle(GetStyle(x, line)), AskSoftStyle(rp)); if(styles != NULL) @@ -484,8 +486,10 @@ LONG PrintLine(struct InstData *data, LONG x, struct line_node *line, LONG line_ { while(colors->column-1 <= x) { + #if defined(__amigaos3__) if((colors->color.color & 0xff000000) != 0xff000000) alpha = TRUE; + #endif SetColor(data, rp, &colors->color, line->line.Highlight, TRUE); colors++;