[SV 65211] Fix load and loadapi tests. * scripts/features/load: Suppress unused variable compiler warnings. * scripts/features/loadapi: Ditto.
diff --git a/tests/scripts/features/load b/tests/scripts/features/load index 41333a5..1c7ec57 100644 --- a/tests/scripts/features/load +++ b/tests/scripts/features/load
@@ -31,6 +31,7 @@ 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 @@ 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 50e5d05..ab8ca23 100644 --- a/tests/scripts/features/loadapi +++ b/tests/scripts/features/loadapi
@@ -56,6 +56,8 @@ { char *mem; + (void)argc; + if (strcmp (funcname, "test-expand") == 0) return test_expand (argv[0]); @@ -75,6 +77,8 @@ { 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);