compiler warnings

This commit is contained in:
Joel Bodenmann 2013-10-20 21:58:52 +02:00 committed by inmarket
parent 2811e94cfe
commit 2bd4758569
2 changed files with 3 additions and 1 deletions

View File

@ -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;

View File

@ -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;