From a2ae90d0811242b51a1561f6fe6480cba2ce4673 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 7 May 2017 15:04:57 +0100 Subject: Remove diagnostic debug. --- gentoobrowse-api/unittests/testMaintenance.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/gentoobrowse-api/unittests/testMaintenance.cpp b/gentoobrowse-api/unittests/testMaintenance.cpp index 21b77db..2aa9ff8 100644 --- a/gentoobrowse-api/unittests/testMaintenance.cpp +++ b/gentoobrowse-api/unittests/testMaintenance.cpp @@ -82,7 +82,6 @@ class M2 : public Gentoo::Service::Maintenance { void applyDiffOfFolders(int64_t repoId, const boost::filesystem::path & from, const boost::filesystem::path & to) const { - fprintf(stderr, "%s\n", __PRETTY_FUNCTION__); auto dbc = db->get(); auto fromFiles = fileSet(from); auto toFiles = fileSet(to); @@ -119,7 +118,6 @@ class M2 : public Gentoo::Service::Maintenance { ins->bindParamS(1, "A"); for(const auto & f : to) { if (from.find(f.first) == from.end()) { - fprintf(stderr, "Added %s\n", f.first.c_str()); ins->bindParamS(2, f.first.string()); ins->execute(); } @@ -130,7 +128,6 @@ class M2 : public Gentoo::Service::Maintenance { ins->bindParamS(1, "D"); for(const auto & f : from) { if (to.find(f.first) == to.end()) { - fprintf(stderr, "Removed %s\n", f.first.c_str()); ins->bindParamS(2, f.first.string()); ins->execute(); } @@ -142,7 +139,6 @@ class M2 : public Gentoo::Service::Maintenance { for(const auto & f : to) { auto i = from.find(f.first); if (i != from.end() && i->second != f.second) { - fprintf(stderr, "Changed %s\n", f.first.c_str()); ins->bindParamS(2, f.first.string()); ins->execute(); } -- cgit v1.2.3