The tables can now also have other names.
[libfirm] / ir / ana / trouts.c
index db33e04..73e6f58 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyrigth (C) 1995-2007 University of Karlsruhe.  All right reserved.
+ * Copyright (C) 1995-2007 University of Karlsruhe.  All right reserved.
  *
  * This file is part of libFirm.
  *
@@ -479,7 +479,8 @@ static void init_trouts(void) {
 
 /** The number of entities that can be accessed by this Sel node. */
 static int get_Sel_n_accessed_entities(ir_node *sel) {
-  return 1;
+       (void) sel;
+       return 1;
 }
 
 /** The entity that cat be accessed by this Sel node. */
@@ -513,6 +514,7 @@ static int get_addr_n_entities(ir_node *addr) {
     If Sel follow to outermost of compound. */
 static ir_entity *get_addr_entity(ir_node *addr, int pos) {
   ir_entity *ent;
+  (void) pos;
 
   switch (get_irn_opcode(addr)) {
   case iro_Sel:
@@ -540,6 +542,7 @@ static void chain_accesses(ir_node *n, void *env) {
   int i, n_ents;
   ir_node *addr;
 
+  (void) env;
   if (get_irn_op(n) == op_Alloc) {
     add_type_alloc(get_Alloc_type(n), n);
     return;