summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikael Magnusson <mikma@users.sourceforge.net>2019-02-22 23:23:28 +0100
committerMikael Magnusson <mikma@users.sourceforge.net>2019-02-22 23:23:28 +0100
commit7cd9980685826ec5149c6eca101854441196eb39 (patch)
treea8ca65d6abdcb2f82df4ba65e249206363e3da70
parentb4cb6926ebab20da79b2a0eaedb6ffef203be05a (diff)
Lua: Fix unused parameter warnings
-rw-r--r--lua/filter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/filter.c b/lua/filter.c
index d99e631f..53efc6b9 100644
--- a/lua/filter.c
+++ b/lua/filter.c
@@ -95,7 +95,7 @@ static const char *lua_interpret_reader(lua_State *L UNUSED, void *ud, size_t *s
return out;
}
-struct f_val lua_interpret(struct lua_filter_chunk *chunk, struct rte **e, struct rta **a, struct ea_list **ea, struct linpool *lp, int flags) {
+struct f_val lua_interpret(struct lua_filter_chunk *chunk, struct rte **e, struct rta **a UNUSED, struct ea_list **ea UNUSED, struct linpool *lp, int flags UNUSED) {
lua_State *L = luaB_getstate();
lua_bird_state *lbs = luaB_init(L, lp);