fixed warnings
authorMatthias Braun <matze@braunis.de>
Sun, 17 Jun 2007 13:28:08 +0000 (13:28 +0000)
committerMatthias Braun <matze@braunis.de>
Sun, 17 Jun 2007 13:28:08 +0000 (13:28 +0000)
[r14553]

ir/tr/entity.c
ir/tr/tr_inheritance.c

index fdc465d..69c5099 100644 (file)
@@ -1177,6 +1177,8 @@ int is_method_entity(ir_entity *ent) {
 /**
  * @todo not implemented!!! */
 int equal_entity(ir_entity *ent1, ir_entity *ent2) {
+       (void) ent1;
+       (void) ent2;
        fprintf(stderr, " calling unimplemented equal entity!!! \n");
        return 1;
 }  /* equal_entity */
index b03f42e..ef0c6d4 100644 (file)
@@ -155,6 +155,8 @@ static set *tr_inh_trans_set = NULL;
 static int tr_inh_trans_cmp(const void *e1, const void *e2, size_t size) {
        tr_inh_trans_tp *ef1 = (tr_inh_trans_tp *)e1;
        tr_inh_trans_tp *ef2 = (tr_inh_trans_tp *)e2;
+       (void) size;
+
        return (ef1->kind != ef2->kind);
 }