aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/pugl_internal.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-07-27 13:36:51 +0200
committerDavid Robillard <d@drobilla.net>2019-07-28 15:01:26 +0200
commite7236e4a5ff6e7d28792d6ab8bee43c2024a9a53 (patch)
tree4f8808389f468107fe41abe0da4b6698650cb413 /pugl/pugl_internal.h
parent4c4b388fab18b12c0cc915238f844eb78b9ff21d (diff)
downloadpugl-e7236e4a5ff6e7d28792d6ab8bee43c2024a9a53.tar.gz
pugl-e7236e4a5ff6e7d28792d6ab8bee43c2024a9a53.tar.bz2
pugl-e7236e4a5ff6e7d28792d6ab8bee43c2024a9a53.zip
Fix unused parameter warnings and prevent rot
Diffstat (limited to 'pugl/pugl_internal.h')
-rw-r--r--pugl/pugl_internal.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/pugl/pugl_internal.h b/pugl/pugl_internal.h
index 6042e6a..57b026f 100644
--- a/pugl/pugl_internal.h
+++ b/pugl/pugl_internal.h
@@ -46,11 +46,8 @@ puglDefaultHints(void)
}
PuglView*
-puglInit(int* pargc, char** argv)
+puglInit(int* PUGL_UNUSED(pargc), char** PUGL_UNUSED(argv))
{
- (void)pargc;
- (void)argv;
-
PuglView* view = (PuglView*)calloc(1, sizeof(PuglView));
if (!view) {
return NULL;