Useless initialization

This commit is contained in:
oliverpool 2017-02-05 22:01:34 +01:00 committed by GitHub
parent 691224cdbf
commit ebd6873cbb
1 changed files with 0 additions and 1 deletions

View File

@ -99,7 +99,6 @@ func (e *ErrorsTotalMap) incError(err HTTPError) {
// We ensure that the ptr wasn't created in the meantime
if ptr, ok = e.m[err]; !ok {
ptr = new(uint64)
*ptr = 0
e.m[err] = ptr
}
e.Unlock()