projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
removed C99 feature
[libfirm]
/
ir
/
ana
/
irouts.c
diff --git
a/ir/ana/irouts.c
b/ir/ana/irouts.c
index
cf20039
..
fb5f029
100644
(file)
--- a/
ir/ana/irouts.c
+++ b/
ir/ana/irouts.c
@@
-1,5
+1,5
@@
/*
/*
- * Copyrig
th
(C) 1995-2007 University of Karlsruhe. All right reserved.
+ * Copyrig
ht
(C) 1995-2007 University of Karlsruhe. All right reserved.
*
* This file is part of libFirm.
*
*
* This file is part of libFirm.
*
@@
-53,6
+53,7
@@
#ifdef DEBUG_libfirm
/** Clear the outs of a node */
static void reset_outs(ir_node *node, void *unused) {
#ifdef DEBUG_libfirm
/** Clear the outs of a node */
static void reset_outs(ir_node *node, void *unused) {
+ (void) unused;
node->out = NULL;
node->out_valid = 0;
}
node->out = NULL;
node->out_valid = 0;
}
@@
-482,6
+483,7
@@
void free_irp_outs(void) {
* before counting.
*/
static void init_count(ir_node * node, void *env) {
* before counting.
*/
static void init_count(ir_node * node, void *env) {
+ (void) env;
node->out = (ir_node **) 1; /* 1 for the array size */
}
node->out = (ir_node **) 1; /* 1 for the array size */
}
@@
-548,10
+550,11
@@
static void set_array_pointer(ir_node *node, void *env) {
* Adds an outedge from the predecessor to the
* current node.
*/
* Adds an outedge from the predecessor to the
* current node.
*/
-static void set_out_pointer(ir_node * node, void *
env) {
+static void set_out_pointer(ir_node * node, void *env) {
int i, arity = get_irn_arity(node);
ir_node *succ;
int start = (!is_Block(node)) ? -1 : 0;
int i, arity = get_irn_arity(node);
ir_node *succ;
int start = (!is_Block(node)) ? -1 : 0;
+ (void) env;
for (i = start; i < arity; ++i) {
succ = get_irn_n(node, i);
for (i = start; i < arity; ++i) {
succ = get_irn_n(node, i);