summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/driver/amgc_driver_ctx.c2
-rw-r--r--src/driver/amgc_unit_ctx.c2
-rw-r--r--src/output/amgc_output_compound.c2
-rw-r--r--src/output/amgc_output_typedef.c4
4 files changed, 10 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;
}
diff --git a/src/output/amgc_output_compound.c b/src/output/amgc_output_compound.c
index fc95af7..312d475 100644
--- a/src/output/amgc_output_compound.c
+++ b/src/output/amgc_output_compound.c
@@ -279,6 +279,8 @@ static int output_compound_entity(
{
struct amgc_layout elayout;
+ (void)uctx;
+
if (layout && layout->symwidth)
return output_compound(aentity->entity,0,layout,fout);
diff --git a/src/output/amgc_output_typedef.c b/src/output/amgc_output_typedef.c
index 9af4329..f7b39d4 100644
--- a/src/output/amgc_output_typedef.c
+++ b/src/output/amgc_output_typedef.c
@@ -21,6 +21,8 @@ static int output_atomic_typedef(
int i;
const char * reftype;
+ (void)fout;
+
reftype = get_atomic_kind_name(aentity->reftype->atomic.akind);
if (fprintf(stdout,"typedef %s ",reftype) < 0)
@@ -44,6 +46,8 @@ int amgc_output_typedef(
{
int ret = 0;
+ (void)uctx;
+
if (layout && layout->header && (fputs(layout->header,fout) < 0))
return -1;