From: Michael Beck Date: Mon, 18 Jun 2007 18:23:50 +0000 (+0000) Subject: removed C99 feature X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=7f1dae499a846489a2a6044f8d92eba2b68fd93c;p=libfirm removed C99 feature [r14615] --- 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; }