summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bemodule.c
diff options
context:
space:
mode:
authorChristoph Mallon <mallon@cs.uni-saarland.de>2015-07-13 21:00:42 +0200
committerChristoph Mallon <mallon@cs.uni-saarland.de>2015-07-14 07:37:45 +0200
commit932ae2dc3964d611ba423a04b96b3a5690e8397e (patch)
tree0ee0be63f5b17b3513572536bc780ed68d8af8b7 /ir/be/bemodule.c
parentf3272823b8e6e93bf3a7b5b04b1d98e299b79357 (diff)
Remove the unnecessary parameter 'type' from option callbacks.
Diffstat (limited to 'ir/be/bemodule.c')
-rw-r--r--ir/be/bemodule.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ir/be/bemodule.c b/ir/be/bemodule.c
index c1d79f4..632664c 100644
--- a/ir/be/bemodule.c
+++ b/ir/be/bemodule.c
@@ -143,10 +143,9 @@ typedef struct module_opt_data_t {
* return true.
* Beware: return value of 0 means error.
*/
-static bool set_opt_module(lc_opt_type_t type, void *data, size_t length, ...)
+static bool set_opt_module(void *data, size_t length, ...)
{
(void)length;
- (void)type;
va_list args;
va_start(args, length);