Removed some warnings due to missing const
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Fri, 7 Jul 2006 11:39:19 +0000 (11:39 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Fri, 7 Jul 2006 11:39:19 +0000 (11:39 +0000)
ir/be/beifg_clique.c
ir/be/ia32/ia32_emitter.c

index 745c2d4..2320ee8 100644 (file)
@@ -46,7 +46,7 @@ typedef struct _cli_element_t {
 } cli_element_t;
 
 typedef struct _cli_iter_t {
-       ifg_clique_t *ifg;
+       const ifg_clique_t *ifg;
        cli_head_t *curr_cli_head;
        cli_element_t *curr_cli_element;
        const ir_node *curr_irn;
index e7de02a..42dfca1 100644 (file)
@@ -571,7 +571,6 @@ const char *ia32_emit_am(const ir_node *n, ia32_emit_env_t *env) {
        int               had_output = 0;
        char              *s;
        const char        *p;
-       int               size;
        static struct obstack *obst  = NULL;
        ir_mode *mode = get_ia32_ls_mode(n);