summaryrefslogtreecommitdiff
path: root/py/emitpass1.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2015-01-20 12:47:20 +0000
committerDamien George <damien.p.george@gmail.com>2015-01-20 12:47:20 +0000
commitff8dd3f486afb0d6ff1427d8a6a8a8ed73baa660 (patch)
tree16b54a843a312757976e15f24f413e00e151fbe2 /py/emitpass1.c
parent50912e7f5dc579fd2917537046793dfa30decadf (diff)
py, unix: Allow to compile with -Wunused-parameter.
See issue #699.
Diffstat (limited to 'py/emitpass1.c')
-rw-r--r--py/emitpass1.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/py/emitpass1.c b/py/emitpass1.c
index 941f34daf..c6d92783a 100644
--- a/py/emitpass1.c
+++ b/py/emitpass1.c
@@ -42,6 +42,7 @@ void emit_pass1_free(emit_t *emit) {
}
STATIC void emit_pass1_dummy(emit_t *emit) {
+ (void)emit;
}
STATIC void emit_pass1_start_pass(emit_t *emit, pass_kind_t pass, scope_t *scope) {
@@ -50,9 +51,11 @@ STATIC void emit_pass1_start_pass(emit_t *emit, pass_kind_t pass, scope_t *scope
}
STATIC void emit_pass1_end_pass(emit_t *emit) {
+ (void)emit;
}
STATIC bool emit_pass1_last_emit_was_return_value(emit_t *emit) {
+ (void)emit;
return false;
}