summaryrefslogtreecommitdiffhomepage
path: root/ir/kaps
diff options
context:
space:
mode:
authorSebastian Buchwald <Sebastian.Buchwald@kit.edu>2011-05-27 13:29:10 +0200
committerSebastian Buchwald <Sebastian.Buchwald@kit.edu>2011-05-27 13:33:25 +0200
commit10e58f9669ea6c77e82bd3bc12c4ac5bbaa6bb15 (patch)
treeedd0f728f59299395dcdb0bcb4eef21e95d4140b /ir/kaps
parentaa2711d21433864eb3e8281bd24b41810a8b1230 (diff)
Fixed some warning about unused variables.
Diffstat (limited to 'ir/kaps')
-rw-r--r--ir/kaps/optimal.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/ir/kaps/optimal.c b/ir/kaps/optimal.c
index 758de05..a37bc2f 100644
--- a/ir/kaps/optimal.c
+++ b/ir/kaps/optimal.c
@@ -1056,7 +1056,6 @@ void apply_RII(pbqp_t *pbqp)
unsigned col_len;
unsigned row_index;
unsigned row_len;
- unsigned node_len;
assert(pbqp_node_get_degree(node) == 2);
@@ -1113,7 +1112,6 @@ void apply_RII(pbqp_t *pbqp)
row_len = src_vec->len;
col_len = tgt_vec->len;
- node_len = node_vec->len;
mat = pbqp_matrix_alloc(pbqp, row_len, col_len);
@@ -1232,14 +1230,12 @@ static void select_column(pbqp_edge_t *edge, unsigned col_index)
static void select_row(pbqp_edge_t *edge, unsigned row_index)
{
pbqp_matrix_t *mat;
- pbqp_node_t *src_node;
pbqp_node_t *tgt_node;
vector_t *tgt_vec;
unsigned tgt_len;
unsigned tgt_index;
unsigned new_infinity = 0;
- src_node = edge->src;
tgt_node = edge->tgt;
tgt_vec = tgt_node->costs;