Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add #if 0 to some debug printf calls

  • Loading branch information...
commit 8f489b06ba38e6a2df613ec24decaaf0b3af9ffb 1 parent ab5d2c5
@mlschroe mlschroe authored
Showing with 6 additions and 0 deletions.
  1. +6 −0 src/solver.c
View
6 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)
Please sign in to comment.
Something went wrong with that request. Please try again.