summaryrefslogtreecommitdiff
path: root/src/driver
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-05-06 17:03:10 -0400
committermidipix <writeonce@midipix.org>2016-05-06 17:03:10 -0400
commit3a51d216f279793fdbc18a9c95e367802efd4883 (patch)
tree52770b958a3cd9eacc618223372706ad05c5e0b9 /src/driver
parent4cf844f1d2ff470208e93a22b2a4021bfe288fa4 (diff)
downloadapimagic-3a51d216f279793fdbc18a9c95e367802efd4883.tar.bz2
apimagic-3a51d216f279793fdbc18a9c95e367802efd4883.tar.xz
code maintenance: mark unused parameters.
Diffstat (limited to 'src/driver')
-rw-r--r--src/driver/amgc_driver_ctx.c2
-rw-r--r--src/driver/amgc_unit_ctx.c2
2 files changed, 4 insertions, 0 deletions
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;
}