projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix warning
[libfirm]
/
ir
/
ana
/
phiclass.c
diff --git
a/ir/ana/phiclass.c
b/ir/ana/phiclass.c
index
4b5397d
..
f9b4de3
100644
(file)
--- a/
ir/ana/phiclass.c
+++ b/
ir/ana/phiclass.c
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (C) 1995-200
7
University of Karlsruhe. All right reserved.
+ * Copyright (C) 1995-200
8
University of Karlsruhe. All right reserved.
*
* This file is part of libFirm.
*
*
* This file is part of libFirm.
*
@@
-64,8
+64,9
@@
static INLINE void _set_phi_class(ir_phase *ph, ir_node *irn, ir_node ***cls) {
}
/* initialize data structure for given irn in given phase */
}
/* initialize data structure for given irn in given phase */
-static void *irn_phi_class_init(ir_phase *ph, ir_node *irn, void *data) {
+static void *irn_phi_class_init(ir_phase *ph,
const
ir_node *irn, void *data) {
irn_phi_class_t *ipc = data ? data : phase_alloc(ph, sizeof(ipc[0]));
irn_phi_class_t *ipc = data ? data : phase_alloc(ph, sizeof(ipc[0]));
+ (void) irn;
memset(ipc, 0, sizeof(ipc[0]));
return ipc;
}
memset(ipc, 0, sizeof(ipc[0]));
return ipc;
}