diff --git a/project/overrides.mk b/project/overrides.mk index 3c91346..e69de29 100644 --- a/project/overrides.mk +++ b/project/overrides.mk @@ -1 +0,0 @@ -src/$(PACKAGE).o: CFLAGS_LAST += -Wno-unused-parameter diff --git a/src/apimagic.c b/src/apimagic.c index 4204276..7277cc0 100644 --- a/src/apimagic.c +++ b/src/apimagic.c @@ -6,7 +6,10 @@ #include +#define AMGC_UNUSED_PARAMETER(p) (void)p + int main(int argc, char ** argv, char ** envp) { + AMGC_UNUSED_PARAMETER(argc); return amgc_main(argv,envp,0); }