[PR #173] [MERGED] fix variable assigned and not used. #15204

Closed
opened 2025-11-02 11:41:15 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/173
Author: @appleboy
Created: 11/15/2016
Status: Merged
Merged: 11/15/2016
Merged by: @tboerger

Base: masterHead: ineffassign98


📝 Commits (1)

  • d9ffe99 fix variable assigned and not used.

📊 Changes

2 files changed (+1 additions, -5 deletions)

View changed files

📝 models/repo.go (+1 -1)
📝 modules/context/repo.go (+0 -4)

📄 Description

Remove some variable assigned and not used.

ref: https://goreportcard.com/report/github.com/go-gitea/gitea#ineffassign

Signed-off-by: Bo-Yi Wu appleboy.tw@gmail.com


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/gitea/pull/173 **Author:** [@appleboy](https://github.com/appleboy) **Created:** 11/15/2016 **Status:** ✅ Merged **Merged:** 11/15/2016 **Merged by:** [@tboerger](https://github.com/tboerger) **Base:** `master` ← **Head:** `ineffassign98` --- ### 📝 Commits (1) - [`d9ffe99`](https://github.com/go-gitea/gitea/commit/d9ffe999723366de4bca616f06c7e5944a768044) fix variable assigned and not used. ### 📊 Changes **2 files changed** (+1 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `models/repo.go` (+1 -1) 📝 `modules/context/repo.go` (+0 -4) </details> ### 📄 Description Remove some variable assigned and not used. ref: https://goreportcard.com/report/github.com/go-gitea/gitea#ineffassign Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 11:41:15 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#15204