Fix lint errors

This commit is contained in:
Ethan Koenig
2017-02-22 17:10:45 -05:00
parent 1f7837d6d6
commit ec3a696e2d
2 changed files with 2 additions and 2 deletions

View File

@ -1800,7 +1800,7 @@ type SearchRepoOptions struct {
func SearchRepositoryByName(opts *SearchRepoOptions) (repos RepositoryList, _ int64, _ error) {
var (
sess *xorm.Session
cond builder.Cond = builder.NewCond()
cond = builder.NewCond()
)
if len(opts.Keyword) == 0 {