summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2014-03-07 17:44:05 +0100
committerMichael Schroeder <mls@suse.de>2014-03-07 17:44:05 +0100
commit8f489b06ba38e6a2df613ec24decaaf0b3af9ffb (patch)
tree199542d3687090405e59dbafab532e830693cea2 /src
parentab5d2c56c168ae56fea013007798039228be5529 (diff)
downloadlibsolv-8f489b06ba38e6a2df613ec24decaaf0b3af9ffb.tar.gz
libsolv-8f489b06ba38e6a2df613ec24decaaf0b3af9ffb.tar.bz2
libsolv-8f489b06ba38e6a2df613ec24decaaf0b3af9ffb.zip
add #if 0 to some debug printf calls
Diffstat (limited to 'src')
-rw-r--r--src/solver.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/solver.c b/src/solver.c
index 7a634ec..98d8620 100644
--- a/src/solver.c
+++ b/src/solver.c
@@ -1768,7 +1768,9 @@ add_complex_recommends(Solver *solv, Id rec, Queue *dq, Map *dqmap)
Id p;
int i, j;
+#if 0
printf("ADD_COMPLEX_RECOMMENDS %s\n", pool_dep2str(pool, rec));
+#endif
i = pool_normalize_complex_dep(pool, rec, dq, CPLXDEPS_EXPAND);
if (i == 0 || i == 1)
return;
@@ -1825,9 +1827,11 @@ add_complex_recommends(Solver *solv, Id rec, Queue *dq, Map *dqmap)
dq->elements[i++] = dq->elements[j];
queue_truncate(dq, i);
}
+#if 0
printf("RETURN:\n");
for (i = oldcnt; i < dq->count; i++)
printf(" - %s\n", pool_solvid2str(pool, dq->elements[i]));
+#endif
}
static void
@@ -1838,7 +1842,9 @@ do_complex_recommendations(Solver *solv, Id rec, Map *m, int noselected)
Id p;
int i, blk;
+#if 0
printf("DO_COMPLEX_RECOMMENDATIONS %s\n", pool_dep2str(pool, rec));
+#endif
queue_init(&dq);
i = pool_normalize_complex_dep(pool, rec, &dq, CPLXDEPS_EXPAND);
if (i == 0 || i == 1)