Bläddra i källkod

Fix missing-return bug (#2109)

tags/v1.2.0-rc1
Ethan Koenig 7 år sedan
förälder
incheckning
2fd039864b
1 ändrade filer med 1 tillägg och 0 borttagningar
  1. 1
    0
      modules/context/repo.go

+ 1
- 0
modules/context/repo.go Visa fil

@@ -394,6 +394,7 @@ func RepoRef() macaron.Handler {
err = fmt.Errorf("No branches in non-bare repository %s",
ctx.Repo.GitRepo.Path)
ctx.Handle(500, "GetBranches", err)
return
}
refName = brs[0]
}

Laddar…
Avbryt
Spara