aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gdisp/Nokia6610GE8
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@unormal.org>2013-10-26 14:59:52 +0200
committerJoel Bodenmann <joel@unormal.org>2013-10-26 14:59:52 +0200
commit2112074e79cf4d9cf4c40f358af3b6280f389148 (patch)
tree8309ee3f827287ca628c431322202b29af83fdff /drivers/gdisp/Nokia6610GE8
parentaf3963d341f14fd46a2eaa26f53f44de641299dc (diff)
downloaduGFX-2112074e79cf4d9cf4c40f358af3b6280f389148.tar.gz
uGFX-2112074e79cf4d9cf4c40f358af3b6280f389148.tar.bz2
uGFX-2112074e79cf4d9cf4c40f358af3b6280f389148.zip
Nokia6610GE8 compiler warning
Diffstat (limited to 'drivers/gdisp/Nokia6610GE8')
-rw-r--r--drivers/gdisp/Nokia6610GE8/gdisp_lld.c4
1 files changed, 4 insertions, 0 deletions
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.