mirror of
https://github.com/go-gitea/gitea
synced 2025-02-09 01:07:05 +01:00
Remove unnecessary variable
This commit is contained in:
parent
808e11d301
commit
16bd6510ac
@ -463,7 +463,6 @@ func RenameBranch(ctx context.Context, repo *repo_model.Repository, doer *user_m
|
||||
// enmuerates all branch related errors
|
||||
var (
|
||||
ErrBranchIsDefault = errors.New("branch is default")
|
||||
ErrInsufficientAccess = errors.New("insufficient access")
|
||||
)
|
||||
|
||||
func CanDeleteBranch(ctx context.Context, repo *repo_model.Repository, branchName string, doer *user_model.User) error {
|
||||
|
Loading…
x
Reference in New Issue
Block a user