From c33fb2c4d52a96ea323b2a54c31200263ea26453 Mon Sep 17 00:00:00 2001 From: inmarket Date: Fri, 30 May 2014 12:45:19 +1000 Subject: [PATCH] Remove compiler warning --- src/gwin/frame.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/gwin/frame.c b/src/gwin/frame.c index 69b430b3..c10aaea3 100644 --- a/src/gwin/frame.c +++ b/src/gwin/frame.c @@ -46,6 +46,8 @@ static void _frameDestroy(GHandle gh) { } static void _closeBtnDraw(struct GWidgetObject *gw, void *param) { + (void) param; + // the background if (gwinButtonIsPressed( (GHandle)gw)) { gdispFillArea(gw->g.x, gw->g.y, gw->g.width, gw->g.height, gdispBlendColor(Black, HTML2COLOR(0xC55152), 50)); @@ -59,6 +61,8 @@ static void _closeBtnDraw(struct GWidgetObject *gw, void *param) { } static void _closeBtnMin(struct GWidgetObject *gw, void *param) { + (void) param; + // the background if (gwinButtonIsPressed( (GHandle)gw)) { gdispFillArea(gw->g.x, gw->g.y, gw->g.width, gw->g.height, gdispBlendColor(Black, Grey, 50)); @@ -71,6 +75,8 @@ static void _closeBtnMin(struct GWidgetObject *gw, void *param) { } static void _closeBtnMax(struct GWidgetObject *gw, void *param) { + (void) param; + // the background if (gwinButtonIsPressed( (GHandle)gw)) { gdispFillArea(gw->g.x, gw->g.y, gw->g.width, gw->g.height, gdispBlendColor(Black, Grey, 50));