From 2112074e79cf4d9cf4c40f358af3b6280f389148 Mon Sep 17 00:00:00 2001 From: Joel Bodenmann Date: Sat, 26 Oct 2013 14:59:52 +0200 Subject: [PATCH] Nokia6610GE8 compiler warning --- drivers/gdisp/Nokia6610GE8/gdisp_lld.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/gdisp/Nokia6610GE8/gdisp_lld.c b/drivers/gdisp/Nokia6610GE8/gdisp_lld.c index f724ee42..e0cfb997 100644 --- a/drivers/gdisp/Nokia6610GE8/gdisp_lld.c +++ b/drivers/gdisp/Nokia6610GE8/gdisp_lld.c @@ -328,6 +328,10 @@ LLDSPEC bool_t gdisp_lld_init(GDisplay *g) { acquire_bus(g); set_viewport(g); + /* to surpress compiler warnings */ + x = 0; + y = 0; + /* * Due to the way the Nokia6610 handles a decrementing column or page, * we have to make adjustments as to where it is actually drawing from in the bitmap.