summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bemodule.c
diff options
context:
space:
mode:
authorChristoph Mallon <mallon@cs.uni-saarland.de>2015-07-13 20:30:48 +0200
committerChristoph Mallon <mallon@cs.uni-saarland.de>2015-07-14 07:36:54 +0200
commitf3272823b8e6e93bf3a7b5b04b1d98e299b79357 (patch)
treeac8a61c7f77a8c11dc8f73ad1bec8b95d7b719b5 /ir/be/bemodule.c
parent01a34c279e122ebeb39130323a8d73e91f34b71e (diff)
Remove the unused parameter 'name' from option callbacks.
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 38f60b7..c1d79f4 100644
--- a/ir/be/bemodule.c
+++ b/ir/be/bemodule.c
@@ -143,12 +143,10 @@ typedef struct module_opt_data_t {
* return true.
* Beware: return value of 0 means error.
*/
-static bool set_opt_module(const char *name, lc_opt_type_t type, void *data,
- size_t length, ...)
+static bool set_opt_module(lc_opt_type_t type, void *data, size_t length, ...)
{
(void)length;
(void)type;
- (void)name;
va_list args;
va_start(args, length);