summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bemodule.c
diff options
context:
space:
mode:
authorChristoph Mallon <mallon@cs.uni-saarland.de>2015-07-13 20:03:20 +0200
committerChristoph Mallon <mallon@cs.uni-saarland.de>2015-07-14 07:32:15 +0200
commit36e4570949550704dc766de4b2d35cf8b048c932 (patch)
treebf2766ec1fdad78134bb9a5f8df74ad722079257 /ir/be/bemodule.c
parent105fb01b3e9bba6f1a12f6f1378957509735bfef (diff)
Remove the unused parameter 'len' from option dumpers.
Diffstat (limited to 'ir/be/bemodule.c')
-rw-r--r--ir/be/bemodule.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/ir/be/bemodule.c b/ir/be/bemodule.c
index 88779d2..2a90169 100644
--- a/ir/be/bemodule.c
+++ b/ir/be/bemodule.c
@@ -172,12 +172,10 @@ static bool set_opt_module(const char *name, lc_opt_type_t type, void *data,
/**
* Dump the names of all registered module options.
*/
-static int dump_opt_module(char *buf, size_t buflen, const char *name,
- lc_opt_type_t type, void *data, size_t length)
+static int dump_opt_module(char *buf, size_t buflen, const char *name, lc_opt_type_t type, void *data)
{
(void)name;
(void)type;
- (void)length;
const module_opt_data_t *moddata = (module_opt_data_t*)data;
for (const be_module_list_entry_t *module = *(moddata->list_head);