Author: jkupec Date: Fri Mar 28 16:51:05 2008 New Revision: 9296 URL: http://svn.opensuse.org/viewcvs/zypp?rev=9296&view=rev Log: - check zypp != null when cleaning (bnc #372696) Modified: trunk/zypper/src/zypper-misc.cc Modified: trunk/zypper/src/zypper-misc.cc URL: http://svn.opensuse.org/viewcvs/zypp/trunk/zypper/src/zypper-misc.cc?rev=9296&r1=9295&r2=9296&view=diff ============================================================================== --- trunk/zypper/src/zypper-misc.cc (original) +++ trunk/zypper/src/zypper-misc.cc Fri Mar 28 16:51:05 2008 @@ -397,6 +397,11 @@ void remove_selections(Zypper & zypper) { + // zypp gets initialized only upon the first successful processing of + // command options, if the command was not the 'help'. bnc #372696 + if (!God) + return; + MIL << "Removing user selections from the solver pool" << endl; DBG << "Removing user setToBeInstalled()/Removed()" << endl; -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org