diff options
author | David Robillard <d@drobilla.net> | 2019-07-27 13:36:51 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-07-28 15:01:26 +0200 |
commit | e7236e4a5ff6e7d28792d6ab8bee43c2024a9a53 (patch) | |
tree | 4f8808389f468107fe41abe0da4b6698650cb413 /test | |
parent | 4c4b388fab18b12c0cc915238f844eb78b9ff21d (diff) |
Fix unused parameter warnings and prevent rot
Diffstat (limited to 'test')
-rw-r--r-- | test/pugl_cairo_test.c | 2 |
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; } |