]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/packagemanager.cc
warning: unused parameter ‘foo’ [-Wunused-parameter]
[apt.git] / apt-pkg / packagemanager.cc
index 5f9a31264884208c33a31c526092bb54a469c6d3..0be76b31132a6a1779226bd0980d3037cbb0b5c8 100644 (file)
@@ -741,7 +741,8 @@ bool pkgPackageManager::SmartUnPack(PkgIterator Pkg, bool const Immediate, int c
               // See if the current version is conflicting
               if (ConflictPkg.CurrentVer() == Ver && List->IsNow(ConflictPkg))
               {
-                 clog << OutputInDepth(Depth) << Pkg.FullName() << " conflicts with " << ConflictPkg.FullName() << endl;
+                 if (Debug)
+                    clog << OutputInDepth(Depth) << Pkg.FullName() << " conflicts with " << ConflictPkg.FullName() << endl;
                  /* If a loop is not present or has not yet been detected, attempt to unpack packages
                     to resolve this conflict. If there is a loop present, remove packages to resolve this conflict */
                  if (List->IsFlag(ConflictPkg,pkgOrderList::Loop) == false)