aboutsummaryrefslogtreecommitdiff
path: root/internal/db/repo.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/db/repo.go')
-rw-r--r--internal/db/repo.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/db/repo.go b/internal/db/repo.go
index f4a9f0ff..c858f2eb 100644
--- a/internal/db/repo.go
+++ b/internal/db/repo.go
@@ -1746,7 +1746,7 @@ func GetUserAndCollaborativeRepositories(userID int64) ([]*Repository, error) {
return append(repos, ownRepos...), nil
}
-func getRepositoryCount(e Engine, u *User) (int64, error) {
+func getRepositoryCount(_ Engine, u *User) (int64, error) {
return x.Count(&Repository{OwnerID: u.ID})
}