Author: jkupec
Date: Mon Oct 8 17:39:38 2007
New Revision: 7468
URL: http://svn.opensuse.org/viewcvs/zypp?rev=7468&view=rev
Log:
- fixed some gcc 4.3 warnings
Modified:
trunk/zypper/src/zypper-misc.cc
trunk/zypper/src/zypper-sources.cc
Modified: trunk/zypper/src/zypper-misc.cc
URL: http://svn.opensuse.org/viewcvs/zypp/trunk/zypper/src/zypper-misc.cc?rev=7468&r1=7467&r2=7468&view=diff
==============================================================================
--- trunk/zypper/src/zypper-misc.cc (original)
+++ trunk/zypper/src/zypper-misc.cc Mon Oct 8 17:39:38 2007
@@ -965,7 +965,7 @@
if ( it->status().isNeeded())
{
Patch::constPtr patch = asKind<Patch>(res);
- if (pkg_mgr_available && patch->affects_pkg_manager() ||
+ if ((pkg_mgr_available && patch->affects_pkg_manager()) ||
!pkg_mgr_available )
{
cout << " http://svn.opensuse.org/viewcvs/zypp/trunk/zypper/src/zypper-sources.cc?rev=7468&r1=7467&r2=7468&view=diff
==============================================================================
--- trunk/zypper/src/zypper-sources.cc (original)
+++ trunk/zypper/src/zypper-sources.cc Mon Oct 8 17:39:38 2007
@@ -869,7 +869,7 @@
}
// ----------------------------------------------------------------------------
-
+/*
static
bool looks_like_url (const string& s) {
static bool schemes_shown = false;
@@ -887,7 +887,7 @@
}
return false;
}
-
+*/
static bool do_remove_repo(const RepoInfo & repoinfo)
{
RepoManager manager;
@@ -970,7 +970,7 @@
void modify_repo(const string & alias)
{
// tell whether currenlty processed options are contradicting each other
- bool contradiction = false;
+ // bool contradiction = false;
// TranslatorExplanation speaking of two mutually contradicting command line options
string msg_contradition =
_("%s used together with %s, which contradict each other."
--
To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org
For additional commands, e-mail: zypp-commit+help@opensuse.org