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 /pugl/pugl_x11_gl.c | |
parent | 4c4b388fab18b12c0cc915238f844eb78b9ff21d (diff) | |
download | pugl-e7236e4a5ff6e7d28792d6ab8bee43c2024a9a53.tar.gz pugl-e7236e4a5ff6e7d28792d6ab8bee43c2024a9a53.tar.bz2 pugl-e7236e4a5ff6e7d28792d6ab8bee43c2024a9a53.zip |
Fix unused parameter warnings and prevent rot
Diffstat (limited to 'pugl/pugl_x11_gl.c')
-rw-r--r-- | pugl/pugl_x11_gl.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/pugl/pugl_x11_gl.c b/pugl/pugl_x11_gl.c index 0102f4c..06b4b2e 100644 --- a/pugl/pugl_x11_gl.c +++ b/pugl/pugl_x11_gl.c @@ -174,18 +174,16 @@ puglX11GlLeave(PuglView* view, bool flush) } static int -puglX11GlResize(PuglView* view, int width, int height) +puglX11GlResize(PuglView* PUGL_UNUSED(view), + int PUGL_UNUSED(width), + int PUGL_UNUSED(height)) { - (void)view; - (void)width; - (void)height; return 0; } static void* -puglX11GlGetHandle(PuglView* view) +puglX11GlGetHandle(PuglView* PUGL_UNUSED(view)) { - (void)view; return NULL; } |