X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fkaps%2Fkaps.c;h=7205cd97f7edfd7c4b702228ef2e09dd14d1e367;hb=2b84102b8f003a13d083330fbc6aaff92b6563e9;hp=8bbb415c9a88f24acccf764c128124d5d05b68ce;hpb=eebab16e6be8c73ebb7cb01d04567136f36b7337;p=libfirm diff --git a/ir/kaps/kaps.c b/ir/kaps/kaps.c index 8bbb415c9..7205cd97f 100644 --- a/ir/kaps/kaps.c +++ b/ir/kaps/kaps.c @@ -22,7 +22,6 @@ * @brief Partitioned Boolean Quadratic Problem (PBQP) solver. * @date 02.10.2008 * @author Sebastian Buchwald - * @version $Id$ */ #include "config.h" @@ -126,7 +125,7 @@ void add_edge_costs(pbqp_t *pbqp, unsigned src_index, unsigned tgt_index, } if (edge == NULL) { - edge = alloc_edge(pbqp, src_index, tgt_index, costs); + alloc_edge(pbqp, src_index, tgt_index, costs); } else { pbqp_matrix_add(edge->costs, costs); }