summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bemodule.c
diff options
context:
space:
mode:
authorChristoph Mallon <mallon@cs.uni-saarland.de>2015-07-13 20:25:00 +0200
committerChristoph Mallon <mallon@cs.uni-saarland.de>2015-07-14 07:35:49 +0200
commit01a34c279e122ebeb39130323a8d73e91f34b71e (patch)
tree66e90eab76fe4d5ee984216daa2fafd637fceb65 /ir/be/bemodule.c
parentb9b382bbe02448f39adbf5f60e33f9d0ccc6a148 (diff)
Remove the unnecessary parameter 'type' 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 071960d..38f60b7 100644
--- a/ir/be/bemodule.c
+++ b/ir/be/bemodule.c
@@ -172,10 +172,8 @@ 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, lc_opt_type_t type, void *data)
+static int dump_opt_module(char *buf, size_t buflen, void *data)
{
- (void)type;
-
const module_opt_data_t *moddata = (module_opt_data_t*)data;
for (const be_module_list_entry_t *module = *(moddata->list_head);
module != NULL; module = module->next) {