diff --git a/tests/scripts/features/load b/tests/scripts/features/load index 41333a54..1c7ec570 100644 --- a/tests/scripts/features/load +++ b/tests/scripts/features/load @@ -31,6 +31,7 @@ int explicit_setup (unsigned int, gmk_floc *); int testload_gmk_setup (unsigned int abi, gmk_floc *pos) { + (void)abi; (void)pos; gmk_eval ("TESTLOAD = implicit", 0); if (getenv("TESTAPI_KEEP")) @@ -41,6 +42,7 @@ testload_gmk_setup (unsigned int abi, gmk_floc *pos) int explicit_setup (unsigned int abi, gmk_floc *pos) { + (void)abi; (void)pos; gmk_eval ("TESTLOAD = explicit", 0); if (getenv("TESTAPI_KEEP")) diff --git a/tests/scripts/features/loadapi b/tests/scripts/features/loadapi index 50e5d05f..ab8ca23b 100644 --- a/tests/scripts/features/loadapi +++ b/tests/scripts/features/loadapi @@ -56,6 +56,8 @@ func_test (const char *funcname, unsigned int argc, char **argv) { char *mem; + (void)argc; + if (strcmp (funcname, "test-expand") == 0) return test_expand (argv[0]); @@ -75,6 +77,8 @@ testapi_gmk_setup (unsigned int abi, const gmk_floc *floc) { const char *verbose = getenv ("TESTAPI_VERBOSE"); + (void)abi; + gmk_add_function ("test-expand", func_test, 1, 1, GMK_FUNC_DEFAULT); gmk_add_function ("test-noexpand", func_test, 1, 1, GMK_FUNC_NOEXPAND); gmk_add_function ("test-eval", func_test, 1, 1, GMK_FUNC_DEFAULT);