From b311b5849594c98bd474836981e4af6b15390eae Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Wed, 19 Feb 2025 01:14:24 +0800 Subject: [PATCH] repo/contrib: Remove unnecessary blank assign --- http_handle_repo_contrib_index.go | 2 -- diff --git a/http_handle_repo_contrib_index.go b/http_handle_repo_contrib_index.go index 632e8f2951e0185006b2171858f65396f77a24ff..0c9481f331a160ade0e9423b4d6b235f45592244 100644 --- a/http_handle_repo_contrib_index.go +++ b/http_handle_repo_contrib_index.go @@ -13,8 +13,6 @@ Status string } 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) -- 2.48.1