From 75195285503df851ae7fdbb52894efd8188824b6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=B6tz=20Lindenmaier?= Date: Wed, 14 Apr 2004 12:01:55 +0000 Subject: [PATCH] removed unused var [r2648] --- ir/ana/irsimpletype.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ir/ana/irsimpletype.c b/ir/ana/irsimpletype.c index cfff64e9d..e0afce751 100644 --- a/ir/ana/irsimpletype.c +++ b/ir/ana/irsimpletype.c @@ -144,19 +144,19 @@ static type *find_type_for_node(ir_node *n) { /* has no type */ case iro_Return: { /* Check returned type. */ + /* int i; type *meth_type = get_entity_type(get_irg_ent(current_ir_graph)); for (i = 0; i < get_method_n_ress(meth_type); i++) { type *res_type = get_method_res_type(meth_type, i); type *ana_res_type = get_irn_type(get_Return_res(n, i)); - /*( if (ana_res_type == unknown_type) continue; if (res_type != ana_res_type && "return value has wrong type") { DDMN(n); assert(res_type == ana_res_type && "return value has wrong type"); } - */ } + */ } case iro_Block: case iro_Start: -- 2.20.1