diff options
author | Joel Bodenmann <joel@unormal.org> | 2013-10-20 21:58:52 +0200 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2013-10-21 07:56:23 +1000 |
commit | 2bd47585698b5977ab873d63af4de4dc36f9ec5f (patch) | |
tree | 4dbd3c49034bb0571738559aacff279398307631 /src | |
parent | 2811e94cfe4c454d916617e5faa3367a41795ddc (diff) | |
download | uGFX-2bd47585698b5977ab873d63af4de4dc36f9ec5f.tar.gz uGFX-2bd47585698b5977ab873d63af4de4dc36f9ec5f.tar.bz2 uGFX-2bd47585698b5977ab873d63af4de4dc36f9ec5f.zip |
compiler warnings
Diffstat (limited to 'src')
-rw-r--r-- | src/gdisp/image_gif.c | 2 | ||||
-rw-r--r-- | src/gwin/gimage.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/gdisp/image_gif.c b/src/gdisp/image_gif.c index 502fa3ad..d067bd0f 100644 --- a/src/gdisp/image_gif.c +++ b/src/gdisp/image_gif.c @@ -823,7 +823,7 @@ baddatacleanup: gdispImageError gdispImageDraw_GIF(gdispImage *img, coord_t x, coord_t y, coord_t cx, coord_t cy, coord_t sx, coord_t sy) { gdispImagePrivate * priv; imgdecode * decode; - uint8_t * q; + uint8_t * q = 0; coord_t mx, my, fx, fy; uint16_t cnt, gcnt; uint8_t col; diff --git a/src/gwin/gimage.c b/src/gwin/gimage.c index 35ca1c6d..8eed3ac7 100644 --- a/src/gwin/gimage.c +++ b/src/gwin/gimage.c @@ -41,6 +41,8 @@ static void _redraw(GHandle gh) { #endif // The default display area + dx = 0; + dy = 0; x = gh->x; y = gh->y; w = gh->width; |