diff options
author | Runxi Yu <me@runxiyu.org> | 2025-02-19 01:14:24 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-02-19 01:14:24 +0800 |
commit | b311b5849594c98bd474836981e4af6b15390eae (patch) | |
tree | cd4c0e0e20385fc3c30984e469b7a6f8d704c168 | |
parent | http: Fix detecting subgroups with separator_index (diff) | |
download | forge-b311b5849594c98bd474836981e4af6b15390eae.tar.gz forge-b311b5849594c98bd474836981e4af6b15390eae.tar.zst forge-b311b5849594c98bd474836981e4af6b15390eae.zip |
repo/contrib: Remove unnecessary blank assign
Diffstat (limited to '')
-rw-r--r-- | http_handle_repo_contrib_index.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/http_handle_repo_contrib_index.go b/http_handle_repo_contrib_index.go index 632e8f2..0c9481f 100644 --- a/http_handle_repo_contrib_index.go +++ b/http_handle_repo_contrib_index.go @@ -13,8 +13,6 @@ type id_title_status_t struct { } func handle_repo_contrib_index(w http.ResponseWriter, r *http.Request, params map[string]any) { - _ = params["repo"].(*git.Repository) - rows, err := database.Query(r.Context(), "SELECT id, title, status FROM merge_requests WHERE repo_id = $1", params["repo_id"]) if err != nil { http.Error(w, "Error querying merge requests: "+err.Error(), http.StatusInternalServerError) |