diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2019-01-14 21:25:26 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2019-01-14 21:25:26 +0000 |
commit | 5a75677f0335f643ddfe7f1905d6ea1f7e746507 (patch) | |
tree | a4c3a27b8d2a5cf29705e8bf8d9612c11e5801c3 | |
parent | C++17 deprecation warnings from GCC 8.2 (diff) | |
download | gentoobrowse-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.cpp | 6 |
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); |