aboutsummaryrefslogtreecommitdiffstats
path: root/test/pugl_cairo_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/pugl_cairo_test.c')
-rw-r--r--test/pugl_cairo_test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/pugl_cairo_test.c b/test/pugl_cairo_test.c
index ad68f3f..d749485 100644
--- a/test/pugl_cairo_test.c
+++ b/test/pugl_cairo_test.c
@@ -94,6 +94,7 @@ buttonDraw(cairo_t* cr, const Button* but)
static bool
buttonTouches(const Button* but, double x, double y)
{
+ (void)but;
return (x >= toggle_button.x && x <= toggle_button.x + toggle_button.w &&
y >= toggle_button.y && y <= toggle_button.y + toggle_button.h);
}
@@ -121,6 +122,7 @@ onDisplay(PuglView* view)
static void
onClose(PuglView* view)
{
+ (void)view;
quit = 1;
}