From 3a51d216f279793fdbc18a9c95e367802efd4883 Mon Sep 17 00:00:00 2001 From: midipix Date: Fri, 6 May 2016 17:03:10 -0400 Subject: code maintenance: mark unused parameters. --- src/driver/amgc_driver_ctx.c | 2 ++ src/driver/amgc_unit_ctx.c | 2 ++ 2 files changed, 4 insertions(+) (limited to 'src/driver') diff --git a/src/driver/amgc_driver_ctx.c b/src/driver/amgc_driver_ctx.c index ba753a1..66c9ba9 100644 --- a/src/driver/amgc_driver_ctx.c +++ b/src/driver/amgc_driver_ctx.c @@ -151,6 +151,8 @@ int amgc_get_driver_ctx( size_t nactions; const char * program; + (void)envp; + options = amgc_default_options; if (!(meta = argv_get(argv,options,amgc_argv_flags(flags)))) diff --git a/src/driver/amgc_unit_ctx.c b/src/driver/amgc_unit_ctx.c index 54abdaa..7e265c0 100644 --- a/src/driver/amgc_unit_ctx.c +++ b/src/driver/amgc_unit_ctx.c @@ -88,6 +88,8 @@ static bool amgc_cparser_no_op( compilation_env_t * env, compilation_unit_t * unit) { + (void)env; + (void)unit; return true; } -- cgit v1.2.3