From f7d893b6d417fd8d681e80139d9ebb1734424405 Mon Sep 17 00:00:00 2001
From: Runxi Yu <me@runxiyu.org>
Date: Fri, 14 Feb 2025 11:23:15 +0800
Subject: http_handle_repo_*.go: Remove redundant return

---
 http_handle_repo_raw.go  | 1 -
 http_handle_repo_tree.go | 1 -
 2 files changed, 2 deletions(-)

diff --git a/http_handle_repo_raw.go b/http_handle_repo_raw.go
index 69a6a8c..d525df7 100644
--- a/http_handle_repo_raw.go
+++ b/http_handle_repo_raw.go
@@ -72,5 +72,4 @@ func handle_repo_raw(w http.ResponseWriter, r *http.Request, params map[string]a
 	params["files"] = build_display_git_tree(target)
 
 	render_template(w, "repo_raw_dir", params)
-	return
 }
diff --git a/http_handle_repo_tree.go b/http_handle_repo_tree.go
index 6babd14..5378384 100644
--- a/http_handle_repo_tree.go
+++ b/http_handle_repo_tree.go
@@ -94,5 +94,4 @@ func handle_repo_tree(w http.ResponseWriter, r *http.Request, params map[string]
 	params["files"] = build_display_git_tree(target)
 
 	render_template(w, "repo_tree_dir", params)
-	return
 }
-- 
cgit v1.2.3