stats: Why do I NEVER check if shit compiles before commiting?

This commit is contained in:
Hamcha 2016-02-14 10:46:48 +01:00
parent 600f8f6ef7
commit ac9319a64f

View file

@ -28,7 +28,7 @@ func webWords(rw http.ResponseWriter, req *http.Request) {
// Filter words under a certain usage // Filter words under a certain usage
filtered := make(map[string]UserCount) filtered := make(map[string]UserCount)
for word, usage := range words { for word, usage := range words {
total := 0 total := uint64(0)
for _, count := range usage { for _, count := range usage {
total += count total += count
} }