From e7236e4a5ff6e7d28792d6ab8bee43c2024a9a53 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 27 Jul 2019 13:36:51 +0200 Subject: Fix unused parameter warnings and prevent rot --- pugl/pugl_internal.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'pugl/pugl_internal.h') 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; -- cgit v1.2.1