summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bemodule.c
diff options
context:
space:
mode:
authorChristoph Mallon <mallon@cs.uni-saarland.de>2015-07-13 20:14:05 +0200
committerChristoph Mallon <mallon@cs.uni-saarland.de>2015-07-14 07:34:17 +0200
commitb9b382bbe02448f39adbf5f60e33f9d0ccc6a148 (patch)
treee0a313c793b009e64467b94ad0f73f6cd397b197 /ir/be/bemodule.c
parent9c15b1269070281a42e476dacee627627cc55211 (diff)
Remove the unused parameter 'type' from option value 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 d129aa2..071960d 100644
--- a/ir/be/bemodule.c
+++ b/ir/be/bemodule.c
@@ -192,10 +192,8 @@ static int dump_opt_module(char *buf, size_t buflen, lc_opt_type_t type, void *d
/**
* Dump the values of all register module options.
*/
-static int dump_opt_module_vals(char *buf, size_t buflen, lc_opt_type_t type, void *data)
+static int dump_opt_module_vals(char *buf, size_t buflen, void *data)
{
- (void)type;
-
const module_opt_data_t *moddata = (module_opt_data_t*)data;
char *p = buf;
for (const be_module_list_entry_t *module = *(moddata->list_head);