From 5a75677f0335f643ddfe7f1905d6ea1f7e746507 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Mon, 14 Jan 2019 21:25:26 +0000 Subject: Remove pointless db parameter --- gentoobrowse-api/service/maintenanceGitOperations.cpp | 6 +++--- 1 file 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); -- cgit v1.2.3