Removing compiler warnings from new list code
This commit is contained in:
parent
b0eb3095c0
commit
61c765c2fc
1 changed files with 2 additions and 2 deletions
|
@ -172,6 +172,7 @@ static void gwinListDefaultDraw(GWidgetObject* gw, void* param) {
|
||||||
const gfxQueueASyncItem* qi;
|
const gfxQueueASyncItem* qi;
|
||||||
int item, i;
|
int item, i;
|
||||||
coord_t iheight;
|
coord_t iheight;
|
||||||
|
(void) x;
|
||||||
|
|
||||||
iheight = gdispGetFontMetric(gw->g.font, fontHeight) + VERTICAL_PADDING;
|
iheight = gdispGetFontMetric(gw->g.font, fontHeight) + VERTICAL_PADDING;
|
||||||
|
|
||||||
|
@ -202,8 +203,7 @@ static void gwinListDefaultDraw(GWidgetObject* gw, void* param) {
|
||||||
|
|
||||||
// a mouse down has occurred over the list area
|
// a mouse down has occurred over the list area
|
||||||
static void MouseDown(GWidgetObject* gw, coord_t x, coord_t y) {
|
static void MouseDown(GWidgetObject* gw, coord_t x, coord_t y) {
|
||||||
const gfxQueueASyncItem* qi;
|
int pgsz;
|
||||||
int item, i, pgsz;
|
|
||||||
coord_t iheight;
|
coord_t iheight;
|
||||||
(void) x;
|
(void) x;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue