From 7f1dae499a846489a2a6044f8d92eba2b68fd93c Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Mon, 18 Jun 2007 18:23:50 +0000 Subject: [PATCH] removed C99 feature [r14615] --- ir/ana/height.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ir/ana/height.c b/ir/ana/height.c index df1bae376..43e06a28d 100644 --- a/ir/ana/height.c +++ b/ir/ana/height.c @@ -54,8 +54,8 @@ typedef struct { static void *irn_height_init(ir_phase *ph, ir_node *irn, void *data) { - (void) irn; irn_height_t *h = data ? data : phase_alloc(ph, sizeof(h[0])); + (void)irn; memset(h, 0, sizeof(h[0])); return h; } -- 2.20.1