diff options
author | Stefan Weil <sw@weilnetz.de> | 2013-11-10 15:58:19 +0100 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2013-11-13 16:02:28 +0400 |
commit | 3325a83627de3e3bd9a97548f13bbb53b354d970 (patch) | |
tree | 1333017c844c950d715c3514fb3e6795f6ffe462 /ui/console.c | |
parent | ba1c29310904b34265203e86e133fe177e9f6511 (diff) |
console: Remove unused debug code
The local function console_print_text_attributes is no longer used since
commit 7d6ba01c3741bc32ae252bf64a5fd3f930c2df4f.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'ui/console.c')
-rw-r--r-- | ui/console.c | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/ui/console.c b/ui/console.c index aad4fc9a57..199ba69101 100644 --- a/ui/console.c +++ b/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) { |