diff --git a/src/utils/circache.cpp b/src/utils/circache.cpp index 1b7c2bd4..be66e756 100644 --- a/src/utils/circache.cpp +++ b/src/utils/circache.cpp @@ -803,7 +803,7 @@ bool CirCache::uniquentries() { if (m_d == 0) { LOGERR("CirCache::open: null data\n"); - return -1; + return false; } return m_d->m_uniquentries; } @@ -1427,7 +1427,7 @@ bool CirCache::compact(const std::string& dir, std::string *reason) if (reason) { *reason = msg.str(); } - return -1; + return false; } long long avmbs; if (fsocc(dir, nullptr, &avmbs) && avmbs * 1024 * 1024 < 1.2 * occ->size()) { @@ -1546,7 +1546,7 @@ bool CirCache::burst(const std::string& ccdir, const std::string destdir, std::s if (reason) { *reason = msg.str(); } - return -1; + return false; } long long avmbs; if (fsocc(destdir, nullptr, &avmbs) && avmbs * 1024 * 1024 < 1.2 * occ->size()) {