summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bemodule.c
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2014-03-24 17:50:47 +0100
committerMatthias Braun <matze@braunis.de>2014-03-25 11:31:34 +0100
commit4648ec7e98aeb5483058ed63dccc6d1dc9f433d5 (patch)
treec3b010d0c53d868783ab2811b0634b69082b8f45 /ir/be/bemodule.c
parentc353ea5cee466b7b30eb80728deaff6749866040 (diff)
fix 'never read' warnings
Diffstat (limited to 'ir/be/bemodule.c')
-rw-r--r--ir/be/bemodule.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ir/be/bemodule.c b/ir/be/bemodule.c
index 62540c3..ab17ee5 100644
--- a/ir/be/bemodule.c
+++ b/ir/be/bemodule.c
@@ -138,12 +138,14 @@ typedef struct module_opt_data_t {
} module_opt_data_t;
/**
- * Searches in list for module option. If found, set option to given value and return true.
+ * Searches in list for module option. If found, set option to given value and
+ * 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, ...)
{
+ (void)length;
module_opt_data_t *moddata = (module_opt_data_t*)data;
bool res = false;
va_list args;