Author: mlschroe Date: Tue Oct 21 10:55:59 2008 New Revision: 11425 URL: http://svn.opensuse.org/viewcvs/zypp?rev=11425&view=rev Log: - we're a library, no output to stdout/stderr Modified: trunk/sat-solver/src/repodata.c Modified: trunk/sat-solver/src/repodata.c URL: http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/src/repodata.c?rev=11425&r1=11424&r2=11425&view=diff ============================================================================== --- trunk/sat-solver/src/repodata.c (original) +++ trunk/sat-solver/src/repodata.c Tue Oct 21 10:55:59 2008 @@ -958,22 +958,11 @@ { memset(di, 0, sizeof(*di)); di->pool = pool; - if (!pool) + if (!pool || (repo && repo->pool != pool)) { - fprintf(stderr, "dataiterator_init: no Pool given\n"); di->state = di_bye; return -1; } - if (repo) - { - if (repo->pool != pool) - { - fprintf(stderr, "dataiterator_init: repo from different pool\n"); - di->state = di_bye; - return -1; - } - - } if (match) { int error; -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org