summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2019-01-14 21:25:26 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2019-01-14 21:25:26 +0000
commit5a75677f0335f643ddfe7f1905d6ea1f7e746507 (patch)
treea4c3a27b8d2a5cf29705e8bf8d9612c11e5801c3
parentC++17 deprecation warnings from GCC 8.2 (diff)
downloadgentoobrowse-api-0.10.0.2.tar.bz2
gentoobrowse-api-0.10.0.2.tar.xz
gentoobrowse-api-0.10.0.2.zip
Remove pointless db parametergentoobrowse-api-0.10.0.2
-rw-r--r--gentoobrowse-api/service/maintenanceGitOperations.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/gentoobrowse-api/service/maintenanceGitOperations.cpp b/gentoobrowse-api/service/maintenanceGitOperations.cpp
index 347acff..7e34ab5 100644
--- a/gentoobrowse-api/service/maintenanceGitOperations.cpp
+++ b/gentoobrowse-api/service/maintenanceGitOperations.cpp
@@ -138,7 +138,7 @@ namespace Gentoo {
static
ChangeSet
- writeChangesToFileList(DB::Connection * db, int64_t repoId, git_repository * repo, const git_oid & last, const git_oid & head);
+ writeChangesToFileList(int64_t repoId, git_repository * repo, const git_oid & last, const git_oid & head);
ChangeSet
refreshRepository(DB::Connection * db, Ice::PropertiesPtr properties, Repository & repository)
@@ -155,12 +155,12 @@ namespace Gentoo {
updateLastCommit->execute();
writeChangeLog(db, repository.repoid, repo.get(), lastCommitOid, headCommitOid);
- return writeChangesToFileList(db, repository.repoid, repo.get(), lastCommitOid, headCommitOid);
+ return writeChangesToFileList(repository.repoid, repo.get(), lastCommitOid, headCommitOid);
}
AdHocFormatter(FindingChanges, "Finding changes for repository %? with range %?...%?\n");
ChangeSet
- writeChangesToFileList(DB::Connection *, int64_t repoId, git_repository * repo, const git_oid & lastCommitOid, const git_oid & headCommitOid)
+ writeChangesToFileList(int64_t repoId, git_repository * repo, const git_oid & lastCommitOid, const git_oid & headCommitOid)
{
FindingChanges::write(std::cerr, repoId, lastCommitOid, headCommitOid);
auto lastCommit = gitSafeGet(git_commit_lookup, git_commit_free, repo, &lastCommitOid);