mirror of
https://github.com/qemu/qemu.git
synced 2024-11-24 19:33:39 +08:00
console: Remove unused debug code
The local function console_print_text_attributes is no longer used since
commit 7d6ba01c37
.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
This commit is contained in:
parent
ba1c293109
commit
3325a83627
33
ui/console.c
33
ui/console.c
@ -409,39 +409,6 @@ static const pixman_color_t color_table_rgb[2][8] = {
|
||||
}
|
||||
};
|
||||
|
||||
#ifdef DEBUG_CONSOLE
|
||||
static void console_print_text_attributes(TextAttributes *t_attrib, char ch)
|
||||
{
|
||||
if (t_attrib->bold) {
|
||||
printf("b");
|
||||
} else {
|
||||
printf(" ");
|
||||
}
|
||||
if (t_attrib->uline) {
|
||||
printf("u");
|
||||
} else {
|
||||
printf(" ");
|
||||
}
|
||||
if (t_attrib->blink) {
|
||||
printf("l");
|
||||
} else {
|
||||
printf(" ");
|
||||
}
|
||||
if (t_attrib->invers) {
|
||||
printf("i");
|
||||
} else {
|
||||
printf(" ");
|
||||
}
|
||||
if (t_attrib->unvisible) {
|
||||
printf("n");
|
||||
} else {
|
||||
printf(" ");
|
||||
}
|
||||
|
||||
printf(" fg: %d bg: %d ch:'%2X' '%c'\n", t_attrib->fgcol, t_attrib->bgcol, ch, ch);
|
||||
}
|
||||
#endif
|
||||
|
||||
static void vga_putcharxy(QemuConsole *s, int x, int y, int ch,
|
||||
TextAttributes *t_attrib)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user