small variable declaration cleanup

This commit is contained in:
Shawn Smith
2017-01-06 14:23:57 -08:00
parent 927aa0bf5f
commit f16a4f36ee

View File

@@ -148,8 +148,7 @@ func newChecksResp(repo string, forceRefresh bool) (checksResp, error) {
HumanizedLastRefresh: humanize.Time(time.Now().UTC()),
}
var total float64
var totalWeight float64
var total, totalWeight float64
var issues = make(map[string]bool)
for i := 0; i < len(checks); i++ {
s := <-ch