diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2009-12-18 15:28:36 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2009-12-21 09:22:11 +0200 |
commit | 88d56552d12c487bff85262bd0d430270619c9e2 (patch) | |
tree | d19ad695a196e74d7b558465cc29292a640937c5 /lib/order.c | |
parent | 92884ca771905b4de2c2abc1fc5b144fecff8e55 (diff) | |
download | librpm-tizen-88d56552d12c487bff85262bd0d430270619c9e2.tar.gz librpm-tizen-88d56552d12c487bff85262bd0d430270619c9e2.tar.bz2 librpm-tizen-88d56552d12c487bff85262bd0d430270619c9e2.zip |
Remove unused ordering related members from rpmts struct
Diffstat (limited to 'lib/order.c')
-rw-r--r-- | lib/order.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/order.c b/lib/order.c index 8f24fb12e..969a8ee28 100644 --- a/lib/order.c +++ b/lib/order.c @@ -217,8 +217,6 @@ static inline int addRelation(rpmts ts, /* Save max. depth in dependency tree */ if (tsi_p->depth <= tsi_q->depth) tsi_p->depth = tsi_q->depth + 1; - if (tsi_p->depth > ts->maxDepth) - ts->maxDepth = tsi_p->depth; rel = xcalloc(1, sizeof(*rel)); rel->rel_suc = p; @@ -659,7 +657,6 @@ int rpmtsOrder(rpmts ts) p_tsi->tree = -1; } pi = rpmtsiFree(pi); - ts->ntrees = treex; newOrder = xcalloc(ts->orderCount, sizeof(*newOrder)); SCCs = detectSCCs(ts); |