summaryrefslogtreecommitdiff
path: root/arch/x86/machine/cga.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/machine/cga.c')
-rw-r--r--arch/x86/machine/cga.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/machine/cga.c b/arch/x86/machine/cga.c
index b519ba1f..d086326d 100644
--- a/arch/x86/machine/cga.c
+++ b/arch/x86/machine/cga.c
@@ -216,7 +216,7 @@ static void
cga_bbuf_redraw(struct cga_bbuf *bbuf)
{
size_t size;
- int error;
+ __unused int error;
size = CGA_MEMORY_SIZE;
error = cbuf_read(&bbuf->cbuf, bbuf->view, cga_memory, &size);
@@ -298,7 +298,7 @@ cga_bbuf_newline(struct cga_bbuf *bbuf)
{
uint16_t cursor = 0, spaces[CGA_COLUMNS];
size_t i, nr_spaces, offset, size;
- int error;
+ __unused int error;
cga_bbuf_reset_view(bbuf);