From c49103ab934876ff793e8604b1b6dc23c136658c Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Fri, 7 Jul 2006 11:39:19 +0000 Subject: [PATCH] Removed some warnings due to missing const --- ir/be/beifg_clique.c | 2 +- ir/be/ia32/ia32_emitter.c | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/ir/be/beifg_clique.c b/ir/be/beifg_clique.c index 745c2d4fd..2320ee8ee 100644 --- a/ir/be/beifg_clique.c +++ b/ir/be/beifg_clique.c @@ -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; diff --git a/ir/be/ia32/ia32_emitter.c b/ir/be/ia32/ia32_emitter.c index e7de02a56..42dfca156 100644 --- a/ir/be/ia32/ia32_emitter.c +++ b/ir/be/ia32/ia32_emitter.c @@ -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); -- 2.20.1